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.001201/0.001201, allocations: 114.2 kB / 19.04 MB, free: 3.281 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.001328/0.001328, allocations: 188.5 kB / 22.21 MB, free: 112 kB / 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.38/1.38, allocations: 225.6 MB / 250.8 MB, free: 13.39 MB / 206.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.001518/0.001518, allocations: 47.92 kB / 368.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2594, allocations: 52.14 MB / 420.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01986/0.2792, allocations: 16.6 MB / 437.5 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009506/0.2887, allocations: 4.114 MB / 441.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002449/0.2912, allocations: 135.6 kB / 441.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01687/0.308, allocations: 7.48 MB / 449.2 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006219/0.3143, allocations: 1.499 MB / 450.7 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004153/0.3184, allocations: 1.092 MB / 451.8 MB, free: 64 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01196/0.3304, allocations: 8.245 MB / 460 MB, free: 7.789 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02953/0.3599, allocations: 13.67 MB / 473.7 MB, free: 9.914 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007212/0.3671, allocations: 4.816 MB / 478.5 MB, free: 5.086 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008363/0.3755, allocations: 5.353 MB / 483.9 MB, free: 15.71 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002977/0.3785, allocations: 1.383 MB / 485.3 MB, free: 14.33 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004279/0.3827, allocations: 1.644 MB / 486.9 MB, free: 12.69 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003709/0.3864, allocations: 2.588 MB / 489.5 MB, free: 10.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00886/0.3953, allocations: 5.214 MB / 494.7 MB, free: 4.859 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02271/0.418, allocations: 18.34 MB / 0.501 GB, free: 2.465 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.418, allocations: 0 / 0.501 GB, free: 2.465 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.418, allocations: 0 / 0.501 GB, free: 2.465 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004815/0.4185, allocations: 0 / 0.501 GB, free: 2.465 MB / 414.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.03062/0.4491, allocations: 10.62 MB / 0.5114 GB, free: 7.75 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/0.4492, allocations: 11.89 kB / 0.5114 GB, free: 7.738 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02097/0.4701, allocations: 3.776 MB / 0.5151 GB, free: 3.953 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01202/0.4822, allocations: 5.372 MB / 0.5203 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008583/0.483, allocations: 0.6785 MB / 0.521 GB, free: 13.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003339/0.4864, allocations: 0.8906 MB / 0.5219 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03325/0.5196, allocations: 12.72 MB / 0.5343 GB, free: 204 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003081/0.5199, allocations: 15.94 kB / 0.5343 GB, free: 188 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.3689/0.8888, allocations: 377 kB / 0.5347 GB, free: 97.89 MB / 446.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005931/0.8894, allocations: 397.9 kB / 0.535 GB, free: 97.87 MB / 446.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02022/0.9097, allocations: 11.41 MB / 0.5462 GB, free: 94.22 MB / 446.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05345/0.9631, allocations: 43.22 MB / 0.5884 GB, free: 53.55 MB / 446.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00782/0.9709, allocations: 10.27 MB / 0.5984 GB, free: 42.04 MB / 446.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001803/0.9727, allocations: 1.532 MB / 0.5999 GB, free: 40.51 MB / 446.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002614/0.973, allocations: 134.2 kB / 0.6 GB, free: 40.37 MB / 446.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.762e-05/0.973, allocations: 60.55 kB / 0.6001 GB, free: 40.3 MB / 446.2 MB Notification: Performance of pre-optimization done (n=223): time 4.939e-06/0.973, allocations: 0 / 0.6001 GB, free: 40.3 MB / 446.2 MB Notification: Performance of matching and sorting (n=223): time 0.008313/0.9814, allocations: 4.666 MB / 0.6047 GB, free: 35.62 MB / 446.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.9814, allocations: 73.41 kB / 0.6047 GB, free: 35.54 MB / 446.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004448/0.9858, allocations: 2.932 MB / 0.6076 GB, free: 32.64 MB / 446.2 MB Notification: Performance of collectPreVariables (initialization): time 0.0002041/0.986, allocations: 61.7 kB / 0.6077 GB, free: 32.57 MB / 446.2 MB Notification: Performance of collectInitialEqns (initialization): time 0.002027/0.9881, allocations: 3.982 MB / 0.6115 GB, free: 29 MB / 446.2 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007595/0.9888, allocations: 0.8293 MB / 0.6124 GB, free: 28.19 MB / 446.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001553/0.9904, allocations: 0.9527 MB / 0.6133 GB, free: 27.22 MB / 446.2 MB Notification: Performance of setup shared object (initialization): time 5.309e-05/0.9904, allocations: 309.1 kB / 0.6136 GB, free: 26.92 MB / 446.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002421/0.9929, allocations: 1.973 MB / 0.6155 GB, free: 24.94 MB / 446.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003045/0.9959, allocations: 4.159 MB / 0.6196 GB, free: 19.71 MB / 446.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005549/1.001, allocations: 6.505 MB / 0.6259 GB, free: 12.16 MB / 446.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-05/1.002, allocations: 24 kB / 0.6259 GB, free: 12.14 MB / 446.2 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.008202/1.01, allocations: 6.505 MB / 0.6323 GB, free: 5.621 MB / 446.2 MB Notification: Performance of prepare postOptimizeDAE: time 5.093e-05/1.01, allocations: 40 kB / 0.6323 GB, free: 5.582 MB / 446.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.955e-05/1.01, allocations: 79.94 kB / 0.6324 GB, free: 5.504 MB / 446.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008151/1.011, allocations: 408.5 kB / 0.6328 GB, free: 5.102 MB / 446.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002794/1.013, allocations: 1.061 MB / 0.6338 GB, free: 4.039 MB / 446.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004187/1.018, allocations: 4.379 MB / 0.6381 GB, free: 15.53 MB / 462.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00315/1.021, allocations: 0.6325 MB / 0.6387 GB, free: 14.89 MB / 462.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005964/1.021, allocations: 251.9 kB / 0.639 GB, free: 14.64 MB / 462.2 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.005878/1.027, allocations: 3.38 MB / 0.6423 GB, free: 11.25 MB / 462.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006406/1.028, allocations: 290.1 kB / 0.6425 GB, free: 10.96 MB / 462.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006215/1.034, allocations: 3.557 MB / 0.646 GB, free: 7.383 MB / 462.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004378/1.039, allocations: 2.796 MB / 0.6488 GB, free: 4.574 MB / 462.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/1.039, allocations: 7.938 kB / 0.6488 GB, free: 4.566 MB / 462.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.53e-05/1.039, allocations: 11.95 kB / 0.6488 GB, free: 4.555 MB / 462.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02087/1.059, allocations: 9.855 MB / 0.6584 GB, free: 10.65 MB / 478.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.366e-05/1.059, allocations: 3.938 kB / 0.6584 GB, free: 10.64 MB / 478.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001681/1.061, allocations: 419.4 kB / 0.6588 GB, free: 10.23 MB / 478.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000792/1.062, allocations: 320.7 kB / 0.6591 GB, free: 9.918 MB / 478.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001771/1.062, allocations: 47.98 kB / 0.6591 GB, free: 9.871 MB / 478.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005365/1.067, allocations: 4.2 MB / 0.6632 GB, free: 5.527 MB / 478.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.067, allocations: 0 / 0.6632 GB, free: 5.527 MB / 478.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008211/1.076, allocations: 5.123 MB / 0.6683 GB, free: 380 kB / 478.2 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001395/1.077, allocations: 0.6314 MB / 0.6689 GB, free: 15.71 MB / 494.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004938/1.078, allocations: 36 kB / 0.6689 GB, free: 15.68 MB / 494.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001299/1.079, allocations: 135.8 kB / 0.669 GB, free: 15.55 MB / 494.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003135/1.079, allocations: 141.8 kB / 0.6692 GB, free: 15.41 MB / 494.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001441/1.079, allocations: 67.98 kB / 0.6692 GB, free: 15.34 MB / 494.2 MB Notification: Performance of sorting global known variables: time 0.003362/1.083, allocations: 1.967 MB / 0.6712 GB, free: 13.37 MB / 494.2 MB Notification: Performance of sort global known variables: time 1.7e-07/1.083, allocations: 0 / 0.6712 GB, free: 13.37 MB / 494.2 MB Notification: Performance of remove unused functions: time 0.005687/1.088, allocations: 1.98 MB / 0.6731 GB, free: 11.38 MB / 494.2 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.0006645/1.089, allocations: 218.8 kB / 0.6733 GB, free: 11.15 MB / 494.2 MB Notification: Performance of simCode: created initialization part: time 0.007519/1.097, allocations: 4.433 MB / 0.6776 GB, free: 6.715 MB / 494.2 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/1.097, allocations: 0 / 0.6776 GB, free: 6.715 MB / 494.2 MB Notification: Performance of simCode: created simulation system equations: time 0.002669/1.099, allocations: 1.618 MB / 0.6792 GB, free: 5.086 MB / 494.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003635/1.103, allocations: 0.6818 MB / 0.6799 GB, free: 4.422 MB / 494.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02834/1.131, allocations: 13.56 MB / 0.6931 GB, free: 6.801 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01122/1.142, allocations: 5.653 MB / 0.6986 GB, free: 1.109 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.00509/1.147, allocations: 1.69 MB / 0.7003 GB, free: 15.41 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009979/1.148, allocations: 231.3 kB / 0.7005 GB, free: 15.19 MB / 0.5138 GB Notification: Performance of SimCode: time 1.653e-06/1.148, allocations: 0 / 0.7005 GB, free: 15.19 MB / 0.5138 GB Notification: Performance of Templates: time 0.08476/1.233, allocations: 41.96 MB / 0.7415 GB, free: 5.406 MB / 0.5451 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/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.701552554965019]