Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 92.31 kB / 20.96 MB, free: 3.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001638/0.001638, allocations: 165.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.518/1.518, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 272.3 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.777e-05/2.918e-05, allocations: 2.312 kB / 272.3 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.0214/0.02143, allocations: 14.27 MB / 286.6 MB, free: 3.457 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1346/0.1561, allocations: 4.059 MB / 290.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002607/0.1587, allocations: 162.8 kB / 290.8 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01476/0.1734, allocations: 7.32 MB / 298.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004667/0.1781, allocations: 1.373 MB / 299.5 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002574/0.1807, allocations: 1.227 MB / 300.7 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00735/0.188, allocations: 8.581 MB / 309.3 MB, free: 8.875 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01885/0.2069, allocations: 14.26 MB / 323.6 MB, free: 13.41 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01305/0.2199, allocations: 7.319 MB / 330.9 MB, free: 6.297 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008654/0.2286, allocations: 4.637 MB / 335.5 MB, free: 1.938 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00407/0.2326, allocations: 1.383 MB / 336.9 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005706/0.2384, allocations: 1.664 MB / 338.6 MB, free: 14.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003161/0.2415, allocations: 2.633 MB / 341.2 MB, free: 12.45 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007378/0.2489, allocations: 3.481 MB / 344.7 MB, free: 9.137 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02519/0.2741, allocations: 18.54 MB / 363.2 MB, free: 6.594 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.054e-05/0.2741, allocations: 4 kB / 363.2 MB, free: 6.59 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.2741, allocations: 0 / 363.2 MB, free: 6.59 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004945/0.2746, allocations: 3.281 kB / 363.2 MB, free: 6.59 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2457 * Number of variables: 2457 Notification: Performance of Generate backend data structure: time 0.03562/0.3102, allocations: 10.47 MB / 373.7 MB, free: 12.05 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.905e-05/0.3103, allocations: 8.031 kB / 373.7 MB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02427/0.3345, allocations: 4.842 MB / 378.6 MB, free: 7.191 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01285/0.3474, allocations: 5.661 MB / 384.2 MB, free: 1.66 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008989/0.3483, allocations: 0.6796 MB / 384.9 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003543/0.3518, allocations: 0.8906 MB / 385.8 MB, free: 92 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03357/0.3854, allocations: 12.82 MB / 398.6 MB, free: 3.227 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002194/0.3856, allocations: 11.95 kB / 398.6 MB, free: 3.215 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001803/0.3874, allocations: 376 kB / 399 MB, free: 2.848 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000459/0.3879, allocations: 403.1 kB / 399.4 MB, free: 2.453 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02615/0.414, allocations: 11.4 MB / 410.8 MB, free: 7.035 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2871/0.7011, allocations: 38.62 MB / 449.4 MB, free: 92.2 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006994/0.7081, allocations: 4.193 MB / 453.6 MB, free: 92.1 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001621/0.7098, allocations: 1.529 MB / 455.1 MB, free: 92.09 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001911/0.7099, allocations: 90.05 kB / 455.2 MB, free: 92.09 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.71, allocations: 51.53 kB / 455.3 MB, free: 92.04 MB / 378.8 MB Notification: Performance of pre-optimization done (n=223): time 4.468e-06/0.71, allocations: 0 / 455.3 MB, free: 92.04 MB / 378.8 MB Notification: Performance of matching and sorting (n=223): time 0.007169/0.7171, allocations: 4.681 MB / 459.9 MB, free: 90.88 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.7172, allocations: 76 kB / 460 MB, free: 90.82 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00317/0.7203, allocations: 3.037 MB / 463.1 MB, free: 89.75 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001253/0.7205, allocations: 60.98 kB / 463.1 MB, free: 89.69 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001435/0.7219, allocations: 3.966 MB / 467.1 MB, free: 87.37 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004267/0.7223, allocations: 0.8156 MB / 467.9 MB, free: 86.8 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009887/0.7233, allocations: 0.9496 MB / 468.8 MB, free: 86.33 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.745e-05/0.7234, allocations: 304.8 kB / 469.1 MB, free: 86.03 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002065/0.7254, allocations: 1.981 MB / 471.1 MB, free: 85.19 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002793/0.7282, allocations: 4.16 MB / 475.3 MB, free: 81.19 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005196/0.7334, allocations: 6.52 MB / 481.8 MB, free: 75.84 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.641e-05/0.7335, allocations: 21.34 kB / 481.8 MB, free: 75.84 MB / 378.8 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.007829/0.7413, allocations: 6.757 MB / 488.6 MB, free: 70.99 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.457e-05/0.7413, allocations: 39.94 kB / 488.6 MB, free: 70.95 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.203e-05/0.7414, allocations: 76 kB / 488.7 MB, free: 70.88 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001154/0.7425, allocations: 0.4934 MB / 489.2 MB, free: 70.39 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002731/0.7453, allocations: 1.068 MB / 490.3 MB, free: 69.32 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003757/0.749, allocations: 4.208 MB / 494.5 MB, free: 65.01 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002772/0.7518, allocations: 0.6256 MB / 495.1 MB, free: 64.38 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002903/0.7521, allocations: 249.7 kB / 495.3 MB, free: 64.14 MB / 378.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (566): * Single equations (assignments): 564 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003743/0.7558, allocations: 3.365 MB / 498.7 MB, free: 60.76 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005564/0.7564, allocations: 370 kB / 499.1 MB, free: 60.39 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004382/0.7608, allocations: 3.569 MB / 0.4908 GB, free: 56.81 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003101/0.7639, allocations: 2.815 MB / 0.4936 GB, free: 53.98 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.7639, allocations: 11.92 kB / 0.4936 GB, free: 53.97 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-05/0.7639, allocations: 7.969 kB / 0.4936 GB, free: 53.96 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0112/0.7751, allocations: 8.008 MB / 0.5014 GB, free: 45.95 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.7751, allocations: 4.156 kB / 0.5014 GB, free: 45.95 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001416/0.7765, allocations: 415.4 kB / 0.5018 GB, free: 45.54 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00102/0.7775, allocations: 408.8 kB / 0.5022 GB, free: 45.14 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001115/0.7777, allocations: 55.98 kB / 0.5023 GB, free: 45.08 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003566/0.7812, allocations: 4.028 MB / 0.5062 GB, free: 40.96 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.7812, allocations: 3.938 kB / 0.5062 GB, free: 40.96 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005615/0.7868, allocations: 5.214 MB / 0.5113 GB, free: 35.71 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001027/0.7879, allocations: 0.5483 MB / 0.5118 GB, free: 35.16 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002752/0.7881, allocations: 47.98 kB / 0.5119 GB, free: 35.11 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/0.7892, allocations: 131.3 kB / 0.512 GB, free: 34.99 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000249/0.7894, allocations: 165.6 kB / 0.5122 GB, free: 34.83 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/0.7895, allocations: 68.08 kB / 0.5122 GB, free: 34.76 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.002113/0.7917, allocations: 1.939 MB / 0.5141 GB, free: 32.81 MB / 378.8 MB Notification: Performance of sort global known variables: time 8e-08/0.7917, allocations: 0 / 0.5141 GB, free: 32.81 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.004252/0.7959, allocations: 1.992 MB / 0.5161 GB, free: 30.81 MB / 378.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (sineVoltage.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (215): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003949/0.7963, allocations: 206.4 kB / 0.5163 GB, free: 30.61 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.005561/0.8019, allocations: 4.446 MB / 0.5206 GB, free: 26.16 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.8019, allocations: 0.875 kB / 0.5206 GB, free: 26.16 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002036/0.8039, allocations: 1.625 MB / 0.5222 GB, free: 24.53 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003015/0.8069, allocations: 0.6838 MB / 0.5229 GB, free: 23.9 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01835/0.8253, allocations: 13.68 MB / 0.5362 GB, free: 10.11 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004154/0.8294, allocations: 5.168 MB / 0.5413 GB, free: 4.902 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.003274/0.8327, allocations: 1.69 MB / 0.5429 GB, free: 3.207 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005643/0.8333, allocations: 240.5 kB / 0.5432 GB, free: 2.973 MB / 378.8 MB Notification: Performance of SimCode: time 1.473e-06/0.8333, allocations: 0 / 0.5432 GB, free: 2.973 MB / 378.8 MB Notification: Performance of Templates: time 0.2007/1.034, allocations: 38.79 MB / 0.581 GB, free: 123.4 MB / 410.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.532184042967856]