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.002523/0.002523, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.003011/0.003011, allocations: 165.6 kB / 24.27 MB, free: 156 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.591/1.591, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.884e-06/1.884e-06, allocations: 0 / 272.3 MB, free: 1.852 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.742e-05/2.931e-05, allocations: 2.312 kB / 272.3 MB, free: 1.848 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.03441/0.03444, allocations: 15.77 MB / 288.1 MB, free: 1.996 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1375/0.172, allocations: 4.112 MB / 292.2 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003643/0.1756, allocations: 161.2 kB / 292.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0168/0.1924, allocations: 7.94 MB / 300.3 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005654/0.1981, allocations: 1.376 MB / 301.7 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003334/0.2014, allocations: 1.24 MB / 302.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008404/0.2098, allocations: 8.573 MB / 311.5 MB, free: 7.566 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02603/0.2358, allocations: 14.27 MB / 325.8 MB, free: 12.02 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01688/0.2527, allocations: 7.392 MB / 333.2 MB, free: 4.836 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01135/0.2641, allocations: 5.207 MB / 338.4 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004336/0.2684, allocations: 1.387 MB / 339.8 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006597/0.275, allocations: 1.665 MB / 341.4 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005082/0.2801, allocations: 2.677 MB / 344.1 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008847/0.2889, allocations: 3.534 MB / 347.6 MB, free: 6.953 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02635/0.3153, allocations: 18.66 MB / 366.3 MB, free: 4.242 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.3153, allocations: 0 / 366.3 MB, free: 4.242 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3153, allocations: 0 / 366.3 MB, free: 4.242 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0005804/0.3159, allocations: 4 kB / 366.3 MB, free: 4.238 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.03399/0.3499, allocations: 12.22 MB / 378.5 MB, free: 7.945 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.3499, allocations: 12.03 kB / 378.5 MB, free: 7.934 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02191/0.3718, allocations: 4.838 MB / 383.4 MB, free: 3.086 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01336/0.3852, allocations: 5.068 MB / 388.4 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007814/0.386, allocations: 0.6833 MB / 389.1 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003049/0.389, allocations: 0.8905 MB / 390 MB, free: 12.38 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03276/0.4218, allocations: 11.68 MB / 401.7 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002197/0.422, allocations: 3.953 kB / 401.7 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001258/0.4232, allocations: 380 kB / 402.1 MB, free: 284 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004736/0.4237, allocations: 395.2 kB / 402.4 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0266/0.4503, allocations: 10.24 MB / 412.7 MB, free: 5.641 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3164/0.7667, allocations: 55.51 MB / 468.2 MB, free: 84.79 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0072/0.7739, allocations: 3.955 MB / 472.1 MB, free: 83.23 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001663/0.7755, allocations: 1.363 MB / 473.5 MB, free: 82.55 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002179/0.7758, allocations: 82.09 kB / 473.6 MB, free: 82.52 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.7758, allocations: 61.67 kB / 473.6 MB, free: 82.46 MB / 378.8 MB Notification: Performance of pre-optimization done (n=223): time 4.749e-06/0.7758, allocations: 0 / 473.6 MB, free: 82.46 MB / 378.8 MB Notification: Performance of matching and sorting (n=223): time 0.007102/0.7829, allocations: 4.144 MB / 477.8 MB, free: 80.41 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.7829, allocations: 72.12 kB / 477.9 MB, free: 80.34 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004767/0.7877, allocations: 4.538 MB / 482.4 MB, free: 76.74 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001241/0.7878, allocations: 65.69 kB / 482.5 MB, free: 76.67 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0019/0.7897, allocations: 4.407 MB / 486.9 MB, free: 72.93 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004963/0.7902, allocations: 0.8897 MB / 487.8 MB, free: 72.11 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00133/0.7915, allocations: 1.286 MB / 489 MB, free: 70.8 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 5.11e-05/0.7916, allocations: 476.8 kB / 489.5 MB, free: 70.34 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001868/0.7935, allocations: 1.691 MB / 491.2 MB, free: 68.64 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002823/0.7963, allocations: 5.155 MB / 496.4 MB, free: 62.03 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005124/0.8014, allocations: 7.421 MB / 0.492 GB, free: 53.18 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.639e-05/0.8014, allocations: 24 kB / 0.492 GB, free: 53.15 MB / 378.8 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.007416/0.8089, allocations: 6.222 MB / 0.4981 GB, free: 46.92 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.482e-05/0.8089, allocations: 36 kB / 0.4981 GB, free: 46.88 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.948e-05/0.809, allocations: 72 kB / 0.4982 GB, free: 46.81 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001171/0.8101, allocations: 0.4903 MB / 0.4987 GB, free: 46.32 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002872/0.813, allocations: 1.065 MB / 0.4997 GB, free: 45.25 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004028/0.817, allocations: 4.819 MB / 0.5044 GB, free: 40.32 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002955/0.82, allocations: 0.6325 MB / 0.505 GB, free: 39.68 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003312/0.8203, allocations: 252 kB / 0.5053 GB, free: 39.43 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.003837/0.8242, allocations: 3.195 MB / 0.5084 GB, free: 36.22 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006094/0.8248, allocations: 350.2 kB / 0.5087 GB, free: 35.88 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004484/0.8293, allocations: 3.207 MB / 0.5118 GB, free: 32.64 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003024/0.8323, allocations: 2.455 MB / 0.5142 GB, free: 30.18 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.8323, allocations: 4 kB / 0.5142 GB, free: 30.18 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-05/0.8323, allocations: 15.95 kB / 0.5143 GB, free: 30.16 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01661/0.8489, allocations: 11.23 MB / 0.5252 GB, free: 18.9 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.8489, allocations: 4 kB / 0.5252 GB, free: 18.9 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001516/0.8504, allocations: 415.4 kB / 0.5256 GB, free: 18.49 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001156/0.8516, allocations: 403.6 kB / 0.526 GB, free: 18.09 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001989/0.8518, allocations: 47.98 kB / 0.5261 GB, free: 18.05 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003998/0.8558, allocations: 4.618 MB / 0.5306 GB, free: 13.3 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.8558, allocations: 4 kB / 0.5306 GB, free: 13.3 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005398/0.8612, allocations: 4.542 MB / 0.535 GB, free: 8.715 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00131/0.8625, allocations: 0.5053 MB / 0.5355 GB, free: 8.207 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003007/0.8628, allocations: 40 kB / 0.5355 GB, free: 8.168 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/0.8639, allocations: 139.8 kB / 0.5357 GB, free: 8.031 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002596/0.8641, allocations: 149.7 kB / 0.5358 GB, free: 7.887 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001168/0.8643, allocations: 71.97 kB / 0.5359 GB, free: 7.816 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.002618/0.8669, allocations: 2.232 MB / 0.5381 GB, free: 5.574 MB / 378.8 MB Notification: Performance of sort global known variables: time 1.1e-07/0.8669, allocations: 4.031 kB / 0.5381 GB, free: 5.57 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.004622/0.8715, allocations: 1.992 MB / 0.54 GB, free: 3.57 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.0004658/0.872, allocations: 215.9 kB / 0.5402 GB, free: 3.355 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.006685/0.8787, allocations: 4.593 MB / 0.5447 GB, free: 14.74 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.8787, allocations: 0 / 0.5447 GB, free: 14.74 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003023/0.8817, allocations: 1.645 MB / 0.5463 GB, free: 13.08 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003399/0.8851, allocations: 0.6988 MB / 0.547 GB, free: 12.42 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02423/0.9093, allocations: 12.63 MB / 0.5593 GB, free: 15.68 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006373/0.9157, allocations: 4.633 MB / 0.5638 GB, free: 11 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.003844/0.9195, allocations: 1.459 MB / 0.5653 GB, free: 9.539 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007111/0.9202, allocations: 240.5 kB / 0.5655 GB, free: 9.305 MB / 410.8 MB Notification: Performance of SimCode: time 1.393e-06/0.9202, allocations: 0 / 0.5655 GB, free: 9.305 MB / 410.8 MB Notification: Performance of Templates: time 0.1866/1.107, allocations: 38.52 MB / 0.6031 GB, free: 108.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 240] 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.708823926979676]