Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001736/0.001736, allocations: 117 kB / 18.41 MB, free: 4.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001471/0.001472, allocations: 190.9 kB / 21.35 MB, free: 1.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 222.9 MB / 247.1 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 51.91 kB / 358.7 MB, free: 8.387 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09561/0.09708, allocations: 49.43 MB / 408.1 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.007734/0.1048, allocations: 6.002 MB / 414.1 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003485/0.1084, allocations: 1.639 MB / 415.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004974/0.1089, allocations: 47.81 kB / 415.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006393/0.1095, allocations: 313.3 kB / 416.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001089/0.1107, allocations: 365.5 kB / 416.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006681/0.1113, allocations: 351.5 kB / 416.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002151/0.1135, allocations: 2.009 MB / 418.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0031/0.1166, allocations: 2.739 MB / 421.5 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001361/0.118, allocations: 1.036 MB / 422.6 MB, free: 8.316 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001562/0.1196, allocations: 1.21 MB / 423.8 MB, free: 7.102 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004028/0.12, allocations: 308 kB / 424.1 MB, free: 6.801 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008054/0.1208, allocations: 487.6 kB / 424.6 MB, free: 6.324 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006924/0.1215, allocations: 0.7209 MB / 425.3 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001381/0.1229, allocations: 1.26 MB / 426.5 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003904/0.1268, allocations: 3.815 MB / 430.4 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1268, allocations: 0 / 430.4 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1268, allocations: 0 / 430.4 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.501e-05/0.1269, allocations: 4 kB / 430.4 MB, free: 0.5039 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.1956/0.3225, allocations: 2.51 MB / 432.9 MB, free: 21.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.3226, allocations: 13.55 kB / 432.9 MB, free: 21.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005221/0.3231, allocations: 249.6 kB / 433.1 MB, free: 21.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001859/0.325, allocations: 1.303 MB / 434.4 MB, free: 20.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.226e-05/0.3251, allocations: 172.5 kB / 434.6 MB, free: 20.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002756/0.3254, allocations: 217.1 kB / 434.8 MB, free: 20.76 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004292/0.3297, allocations: 2.547 MB / 437.4 MB, free: 20.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.33e-05/0.3297, allocations: 3.938 kB / 437.4 MB, free: 20.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001711/0.3299, allocations: 93.53 kB / 437.5 MB, free: 20.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.746e-05/0.33, allocations: 56.72 kB / 437.5 MB, free: 20.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003345/0.3333, allocations: 2.139 MB / 439.6 MB, free: 20.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01036/0.3437, allocations: 7.517 MB / 447.2 MB, free: 17.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.3447, allocations: 1.256 MB / 448.4 MB, free: 16.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009786/0.3457, allocations: 0.6305 MB / 449.1 MB, free: 16.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.537e-05/0.3458, allocations: 9.109 kB / 449.1 MB, free: 16.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.3458, allocations: 42 kB / 449.1 MB, free: 16.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=63): time 3.467e-06/0.3458, allocations: 0.7031 kB / 449.1 MB, free: 16.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.003663/0.3495, allocations: 2.454 MB / 451.6 MB, free: 14.85 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.575e-05/0.3495, allocations: 62.22 kB / 451.6 MB, free: 14.78 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000841/0.3504, allocations: 0.7919 MB / 452.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.59e-05/0.3504, allocations: 35.8 kB / 452.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003365/0.3508, allocations: 0.9489 MB / 453.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.3509, allocations: 238.2 kB / 453.6 MB, free: 13.26 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001915/0.3511, allocations: 149.6 kB / 453.8 MB, free: 13.17 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.065e-05/0.3512, allocations: 392.7 kB / 454.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004875/0.3517, allocations: 364.1 kB / 454.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005688/0.3523, allocations: 0.581 MB / 455.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.3534, allocations: 0.9823 MB / 456.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.3534, allocations: 7.969 kB / 456.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00159/0.355, allocations: 1.143 MB / 457.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.355, allocations: 12.25 kB / 457.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.355, allocations: 7.906 kB / 457.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002711/0.3553, allocations: 116.5 kB / 457.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006662/0.356, allocations: 175.7 kB / 457.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00161/0.3576, allocations: 2.333 MB / 459.9 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004805/0.3581, allocations: 43.72 kB / 459.9 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-05/0.3582, allocations: 31.66 kB / 459.9 MB, free: 8.652 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (89): * Single equations (assignments): 86 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007457/0.3589, allocations: 0.646 MB / 460.6 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.3591, allocations: 86.91 kB / 460.7 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001594/0.3592, allocations: 99.19 kB / 460.8 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.348e-05/0.3593, allocations: 11.81 kB / 460.8 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.3593, allocations: 0.875 kB / 460.8 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.3593, allocations: 8.547 kB / 460.8 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003462/0.3628, allocations: 2.652 MB / 463.4 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.3628, allocations: 1.344 kB / 463.4 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004392/0.3632, allocations: 111.6 kB / 463.5 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002189/0.3634, allocations: 105.1 kB / 463.7 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.875e-05/0.3635, allocations: 19.73 kB / 463.7 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001457/0.365, allocations: 2.269 MB / 465.9 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.365, allocations: 0 / 465.9 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001608/0.3666, allocations: 1.421 MB / 467.4 MB, free: 2.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002446/0.3668, allocations: 236.5 kB / 467.6 MB, free: 2.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.842e-05/0.3669, allocations: 15.98 kB / 467.6 MB, free: 2.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003914/0.3673, allocations: 35.97 kB / 467.6 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.723e-05/0.3674, allocations: 56.42 kB / 467.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-05/0.3675, allocations: 16 kB / 467.7 MB, free: 2.359 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000525/0.368, allocations: 0.5576 MB / 468.3 MB, free: 1.805 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.368, allocations: 0 / 468.3 MB, free: 1.805 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009767/0.369, allocations: 307.9 kB / 468.6 MB, free: 1.504 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * 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 (55): * Single equations (assignments): 52 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000217/0.3692, allocations: 146.8 kB / 468.7 MB, free: 1.352 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001285/0.3705, allocations: 0.9978 MB / 469.7 MB, free: 348 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3705, allocations: 1.688 kB / 469.7 MB, free: 348 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007677/0.3713, allocations: 0.5648 MB / 470.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.3724, allocations: 230.1 kB / 470.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005102/0.3775, allocations: 3.229 MB / 473.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0014/0.379, allocations: 1.681 MB / 475.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002424/0.3792, allocations: 67.42 kB / 475.5 MB, free: 10.49 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3792, allocations: 0 / 475.5 MB, free: 10.49 MB / 366.1 MB Notification: Performance of Templates: time 0.0378/0.417, allocations: 28.57 MB / 0.4922 GB, free: 13.97 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.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: 10.066407308913767]