Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.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.001783/0.001783, allocations: 76.05 kB / 21.24 MB, free: 400 kB / 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.002095/0.002095, allocations: 158.3 kB / 24.48 MB, free: 3.465 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.461/1.461, allocations: 173.4 MB / 201.1 MB, free: 12.68 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.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 48.25 kB / 319.4 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08015/0.08172, allocations: 52.17 MB / 371.6 MB, free: 7.332 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.0176/0.09932, allocations: 14.24 MB / 385.8 MB, free: 9.023 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006751/0.1061, allocations: 3.982 MB / 389.8 MB, free: 5.027 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000956/0.107, allocations: 163.2 kB / 390 MB, free: 4.867 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01607/0.1231, allocations: 7.317 MB / 397.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003916/0.127, allocations: 1.479 MB / 398.8 MB, free: 12.05 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002379/0.1294, allocations: 1.091 MB / 399.9 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009011/0.1384, allocations: 8.308 MB / 408.2 MB, free: 2.613 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02043/0.1588, allocations: 14.21 MB / 422.4 MB, free: 4.207 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006639/0.1655, allocations: 4.914 MB / 427.3 MB, free: 15.28 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008383/0.1739, allocations: 5.17 MB / 432.5 MB, free: 10.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002242/0.1761, allocations: 1.383 MB / 433.8 MB, free: 8.711 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003158/0.1793, allocations: 1.636 MB / 435.5 MB, free: 7.074 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002533/0.1818, allocations: 2.588 MB / 438.1 MB, free: 4.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005279/0.1871, allocations: 4.043 MB / 442.1 MB, free: 432 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01893/0.206, allocations: 18.43 MB / 460.5 MB, free: 13.93 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.206, allocations: 0 / 460.5 MB, free: 13.93 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.206, allocations: 0 / 460.5 MB, free: 13.93 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002967/0.2063, allocations: 0 / 460.5 MB, free: 13.93 MB / 430.1 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.02627/0.2326, allocations: 10.55 MB / 471.1 MB, free: 3.309 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.2326, allocations: 12.03 kB / 471.1 MB, free: 3.297 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3331/0.5657, allocations: 3.776 MB / 474.9 MB, free: 80.25 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009983/0.5757, allocations: 5.423 MB / 480.3 MB, free: 78.84 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005896/0.5763, allocations: 0.6783 MB / 481 MB, free: 78.53 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001997/0.5783, allocations: 0.8893 MB / 481.9 MB, free: 78.23 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0188/0.5971, allocations: 12.8 MB / 494.7 MB, free: 73.05 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001856/0.5973, allocations: 7.031 kB / 494.7 MB, free: 73.05 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007527/0.598, allocations: 385 kB / 495.1 MB, free: 72.75 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002288/0.5982, allocations: 394.6 kB / 495.4 MB, free: 72.39 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01464/0.6129, allocations: 11.39 MB / 0.4949 GB, free: 60.99 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03949/0.6524, allocations: 37.34 MB / 0.5314 GB, free: 23.21 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006874/0.6593, allocations: 4.149 MB / 0.5355 GB, free: 19.32 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001624/0.6609, allocations: 1.532 MB / 0.537 GB, free: 17.8 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001463/0.661, allocations: 45.97 kB / 0.537 GB, free: 17.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.661, allocations: 64.55 kB / 0.5371 GB, free: 17.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=223): time 4.479e-06/0.6611, allocations: 4 kB / 0.5371 GB, free: 17.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=223): time 0.006949/0.668, allocations: 4.582 MB / 0.5415 GB, free: 13.09 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/0.668, allocations: 77.34 kB / 0.5416 GB, free: 13 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002873/0.6709, allocations: 3.038 MB / 0.5446 GB, free: 10.05 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001028/0.671, allocations: 61.7 kB / 0.5446 GB, free: 9.98 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001223/0.6722, allocations: 3.981 MB / 0.5485 GB, free: 6.004 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004008/0.6726, allocations: 0.8336 MB / 0.5493 GB, free: 5.18 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009747/0.6736, allocations: 0.9527 MB / 0.5503 GB, free: 4.215 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.022e-05/0.6736, allocations: 305.1 kB / 0.5506 GB, free: 3.914 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002115/0.6757, allocations: 1.973 MB / 0.5525 GB, free: 1.934 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004054/0.6798, allocations: 4.154 MB / 0.5566 GB, free: 12.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008386/0.6882, allocations: 6.513 MB / 0.5629 GB, free: 5.148 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-05/0.6882, allocations: 20 kB / 0.5629 GB, free: 5.129 MB / 446.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.01025/0.6985, allocations: 6.503 MB / 0.5693 GB, free: 14.61 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.377e-05/0.6985, allocations: 36 kB / 0.5693 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.794e-05/0.6986, allocations: 79.98 kB / 0.5694 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008751/0.6995, allocations: 404.8 kB / 0.5698 GB, free: 14.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003315/0.7028, allocations: 1.065 MB / 0.5708 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005605/0.7084, allocations: 4.193 MB / 0.5749 GB, free: 8.742 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00286/0.7113, allocations: 0.6287 MB / 0.5755 GB, free: 8.109 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003864/0.7117, allocations: 244 kB / 0.5758 GB, free: 7.871 MB / 462.1 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.004989/0.7167, allocations: 3.376 MB / 0.5791 GB, free: 4.48 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005386/0.7172, allocations: 278.2 kB / 0.5793 GB, free: 4.207 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005704/0.7229, allocations: 3.588 MB / 0.5828 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00426/0.7272, allocations: 2.801 MB / 0.5856 GB, free: 13.78 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.7272, allocations: 4 kB / 0.5856 GB, free: 13.78 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.287e-05/0.7272, allocations: 11.95 kB / 0.5856 GB, free: 13.77 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01338/0.7406, allocations: 7.976 MB / 0.5934 GB, free: 5.758 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.7406, allocations: 0 / 0.5934 GB, free: 5.758 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001624/0.7422, allocations: 419.3 kB / 0.5938 GB, free: 5.348 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000683/0.7429, allocations: 312.7 kB / 0.5941 GB, free: 5.039 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001189/0.743, allocations: 43.98 kB / 0.5941 GB, free: 4.996 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005019/0.748, allocations: 4.014 MB / 0.598 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/0.748, allocations: 11.94 kB / 0.598 GB, free: 0.875 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007321/0.7554, allocations: 5.117 MB / 0.603 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/0.7565, allocations: 0.5561 MB / 0.6036 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002529/0.7568, allocations: 40 kB / 0.6036 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/0.7579, allocations: 139.8 kB / 0.6037 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002865/0.7582, allocations: 161.8 kB / 0.6039 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001429/0.7583, allocations: 67.98 kB / 0.604 GB, free: 10.77 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00273/0.761, allocations: 1.939 MB / 0.6059 GB, free: 8.816 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.761, allocations: 0 / 0.6059 GB, free: 8.816 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004567/0.7656, allocations: 1.988 MB / 0.6078 GB, free: 6.82 MB / 494.1 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.0003642/0.766, allocations: 206.8 kB / 0.608 GB, free: 6.609 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006549/0.7725, allocations: 4.438 MB / 0.6123 GB, free: 2.164 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.7725, allocations: 0 / 0.6123 GB, free: 2.164 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0024/0.7749, allocations: 1.614 MB / 0.6139 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002844/0.7778, allocations: 0.6551 MB / 0.6145 GB, free: 15.9 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02171/0.7995, allocations: 13.56 MB / 0.6278 GB, free: 2.277 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005991/0.8055, allocations: 5.18 MB / 0.6329 GB, free: 13.05 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.003888/0.8093, allocations: 1.686 MB / 0.6345 GB, free: 11.36 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006036/0.81, allocations: 232.5 kB / 0.6347 GB, free: 11.14 MB / 0.5138 GB Notification: Performance of SimCode: time 6.21e-07/0.81, allocations: 0 / 0.6347 GB, free: 11.14 MB / 0.5138 GB Notification: Performance of Templates: time 0.07458/0.8845, allocations: 38.56 MB / 0.6724 GB, free: 4.977 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.240841164952144]