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.001472/0.001472, allocations: 78.28 kB / 21.42 MB, free: 3.074 MB / 18.57 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.001691/0.001691, allocations: 150.5 kB / 24.81 MB, free: 9.32 MB / 18.57 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 0.9556/0.9556, allocations: 173.3 MB / 201.4 MB, free: 9.227 MB / 186.7 MB " [Timeout remaining time 179] 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 1.724e-06/1.724e-06, allocations: 0 / 268.4 MB, free: 6.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.385e-05/1.557e-05, allocations: 6.312 kB / 268.4 MB, free: 6.195 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01161/0.01163, allocations: 15.29 MB / 283.7 MB, free: 6.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006506/0.01813, allocations: 4.056 MB / 287.8 MB, free: 2.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001117/0.01925, allocations: 163.2 kB / 287.9 MB, free: 2.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1223/0.1416, allocations: 7.72 MB / 295.6 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004334/0.1459, allocations: 1.515 MB / 297.2 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002026/0.1479, allocations: 1.098 MB / 298.3 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005861/0.1538, allocations: 8.585 MB / 306.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01353/0.1673, allocations: 14.26 MB / 321.1 MB, free: 1.434 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006696/0.174, allocations: 7.396 MB / 328.5 MB, free: 10.25 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004025/0.178, allocations: 5.259 MB / 333.8 MB, free: 5.312 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001155/0.1792, allocations: 1.379 MB / 335.1 MB, free: 3.934 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001754/0.1809, allocations: 1.637 MB / 336.8 MB, free: 2.312 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001352/0.1823, allocations: 2.672 MB / 339.4 MB, free: 15.82 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002436/0.1847, allocations: 3.532 MB / 343 MB, free: 12.46 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006337/0.1911, allocations: 8.846 MB / 351.8 MB, free: 4.086 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1911, allocations: 0 / 351.8 MB, free: 4.086 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.1911, allocations: 0 / 351.8 MB, free: 4.086 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.539e-05/0.1911, allocations: 0 / 351.8 MB, free: 4.086 MB / 298.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.01232/0.2035, allocations: 11.18 MB / 363 MB, free: 9.32 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.2035, allocations: 16.03 kB / 363 MB, free: 9.305 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008583/0.2121, allocations: 3.769 MB / 366.8 MB, free: 5.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004462/0.2165, allocations: 4.598 MB / 371.4 MB, free: 1.164 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003448/0.2169, allocations: 0.6814 MB / 372.1 MB, free: 500 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008686/0.2178, allocations: 0.8971 MB / 373 MB, free: 15.59 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006497/0.2243, allocations: 4.896 MB / 377.9 MB, free: 10.67 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001184/0.2244, allocations: 7.953 kB / 377.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005407/0.2249, allocations: 378.5 kB / 378.2 MB, free: 10.3 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002427/0.2252, allocations: 403.1 kB / 378.6 MB, free: 9.906 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003924/0.2291, allocations: 2.708 MB / 381.3 MB, free: 7.188 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03232/0.2614, allocations: 35.26 MB / 416.6 MB, free: 4.168 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003302/0.2647, allocations: 2.752 MB / 419.4 MB, free: 1.668 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006774/0.2654, allocations: 0.5728 MB / 419.9 MB, free: 1.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001496/0.2655, allocations: 73.94 kB / 420 MB, free: 1.016 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/0.2656, allocations: 66.75 kB / 420.1 MB, free: 0.9453 MB / 362.7 MB Notification: Performance of pre-optimization done (n=223): time 3.857e-06/0.2656, allocations: 0 / 420.1 MB, free: 0.9453 MB / 362.7 MB Notification: Performance of matching and sorting (n=223): time 0.003461/0.269, allocations: 2.182 MB / 422.3 MB, free: 14.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.2691, allocations: 73.41 kB / 422.3 MB, free: 14.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002422/0.2715, allocations: 2.92 MB / 425.2 MB, free: 11.74 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003622/0.2719, allocations: 61.7 kB / 425.3 MB, free: 11.67 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001923/0.2738, allocations: 4.235 MB / 429.5 MB, free: 7.398 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000475/0.2743, allocations: 0.8565 MB / 430.4 MB, free: 6.535 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009852/0.2752, allocations: 1.114 MB / 431.5 MB, free: 5.406 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.2753, allocations: 480.7 kB / 432 MB, free: 4.934 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005615/0.2759, allocations: 484.8 kB / 432.5 MB, free: 4.453 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2323/0.5082, allocations: 3.804 MB / 436.3 MB, free: 88.69 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003802/0.512, allocations: 4.772 MB / 441 MB, free: 84.61 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.062e-05/0.5121, allocations: 22.64 kB / 441 MB, free: 84.61 MB / 378.8 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.005208/0.5173, allocations: 3.628 MB / 444.7 MB, free: 84.45 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.648e-05/0.5174, allocations: 36.88 kB / 444.7 MB, free: 84.45 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001599/0.5175, allocations: 74.5 kB / 444.8 MB, free: 84.45 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001109/0.5186, allocations: 368.3 kB / 445.1 MB, free: 84.43 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001927/0.5205, allocations: 0.9961 MB / 446.1 MB, free: 84.43 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002057/0.5226, allocations: 3.362 MB / 449.5 MB, free: 82.47 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002441/0.525, allocations: 0.5497 MB / 450.1 MB, free: 82.46 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002632/0.5253, allocations: 205.8 kB / 450.3 MB, free: 82.46 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.001801/0.5271, allocations: 493.7 kB / 450.7 MB, free: 82.3 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005204/0.5276, allocations: 368.2 kB / 451.1 MB, free: 82.28 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002425/0.5301, allocations: 1.864 MB / 453 MB, free: 82.09 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001403/0.5315, allocations: 1.114 MB / 454.1 MB, free: 81.99 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.5315, allocations: 3.281 kB / 454.1 MB, free: 81.99 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.709e-05/0.5315, allocations: 9.516 kB / 454.1 MB, free: 81.99 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01072/0.5422, allocations: 7.546 MB / 461.6 MB, free: 81.33 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.198e-06/0.5422, allocations: 3.938 kB / 461.6 MB, free: 81.33 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009424/0.5432, allocations: 352.1 kB / 462 MB, free: 81.33 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006178/0.5438, allocations: 278.7 kB / 462.3 MB, free: 81.3 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.439e-05/0.5439, allocations: 49.89 kB / 462.3 MB, free: 81.3 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002241/0.5461, allocations: 3.211 MB / 465.5 MB, free: 79.29 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.5461, allocations: 3.891 kB / 465.5 MB, free: 79.29 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002676/0.5488, allocations: 2.154 MB / 467.7 MB, free: 78.78 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007215/0.5495, allocations: 467.8 kB / 468.1 MB, free: 78.62 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000203/0.5497, allocations: 44.56 kB / 468.2 MB, free: 78.62 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006245/0.5503, allocations: 56.88 kB / 468.2 MB, free: 78.62 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002301/0.5506, allocations: 157.9 kB / 468.4 MB, free: 78.61 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.076e-05/0.5507, allocations: 49.34 kB / 468.4 MB, free: 78.61 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001264/0.5519, allocations: 1.169 MB / 469.6 MB, free: 78.43 MB / 378.8 MB Notification: Performance of sort global known variables: time 2e-07/0.5519, allocations: 0 / 469.6 MB, free: 78.43 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.00435/0.5563, allocations: 1.996 MB / 471.6 MB, free: 78.11 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.0003764/0.5566, allocations: 211.6 kB / 471.8 MB, free: 78.02 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.003543/0.5602, allocations: 2.602 MB / 474.4 MB, free: 77.67 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.5602, allocations: 3.406 kB / 474.4 MB, free: 77.67 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001135/0.5613, allocations: 1.011 MB / 475.4 MB, free: 77.44 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002164/0.5635, allocations: 0.6996 MB / 476.1 MB, free: 77.39 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01419/0.5777, allocations: 11.36 MB / 487.5 MB, free: 69.13 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001467/0.5791, allocations: 2.285 MB / 489.8 MB, free: 67.44 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.001306/0.5805, allocations: 481.8 kB / 490.2 MB, free: 67.08 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009729/0.5814, allocations: 0.7119 MB / 490.9 MB, free: 66.46 MB / 378.8 MB Notification: Performance of SimCode: time 1.633e-06/0.5814, allocations: 4 kB / 490.9 MB, free: 66.45 MB / 378.8 MB Notification: Performance of Templates: time 0.05368/0.6351, allocations: 41.76 MB / 0.5202 GB, free: 26.62 MB / 378.8 MB " [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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8003049748949707]