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.001318/0.001318, allocations: 80.94 kB / 20.68 MB, free: 1.047 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.00139/0.00139, allocations: 146.3 kB / 23.94 MB, free: 4.195 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.459/1.459, allocations: 173.4 MB / 200.4 MB, free: 12.88 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 1.573e-06/1.573e-06, allocations: 0 / 318.9 MB, free: 3.547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.414e-05/2.571e-05, allocations: 2.281 kB / 318.9 MB, free: 3.543 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.005935/0.005961, allocations: 5.326 MB / 324.2 MB, free: 4 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004109/0.01007, allocations: 1.597 MB / 325.8 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001081/0.01115, allocations: 64.53 kB / 325.9 MB, free: 14.83 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008086/0.01196, allocations: 321.8 kB / 326.2 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001618/0.01358, allocations: 393.3 kB / 326.6 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000903/0.01448, allocations: 365.6 kB / 327 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002689/0.01717, allocations: 2.072 MB / 329 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002558/0.01973, allocations: 1.544 MB / 330.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003986/0.02371, allocations: 1.598 MB / 332.2 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00272/0.02643, allocations: 1.011 MB / 333.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007069/0.02714, allocations: 310 kB / 333.5 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001396/0.02854, allocations: 467.5 kB / 333.9 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001033/0.02957, allocations: 0.7462 MB / 334.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001739/0.03131, allocations: 0.8737 MB / 335.6 MB, free: 9.699 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006414/0.03772, allocations: 3.841 MB / 339.4 MB, free: 6.844 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.03773, allocations: 0 / 339.4 MB, free: 6.844 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.03773, allocations: 0 / 339.4 MB, free: 6.844 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001057/0.03784, allocations: 5.156 kB / 339.4 MB, free: 6.84 MB / 302.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.007827/0.04566, allocations: 2.422 MB / 341.8 MB, free: 4.617 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.04571, allocations: 8.031 kB / 341.8 MB, free: 4.609 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.04672, allocations: 251.4 kB / 342.1 MB, free: 4.363 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00364/0.05036, allocations: 1.249 MB / 343.3 MB, free: 3.082 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002181/0.05058, allocations: 168.9 kB / 343.5 MB, free: 2.91 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005371/0.05112, allocations: 216.4 kB / 343.7 MB, free: 2.699 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007386/0.0585, allocations: 2.621 MB / 346.3 MB, free: 8 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.549e-05/0.05857, allocations: 3.938 kB / 346.3 MB, free: 4 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003508/0.05892, allocations: 88.08 kB / 346.4 MB, free: 15.91 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001112/0.05903, allocations: 60 kB / 346.5 MB, free: 15.86 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00606/0.06509, allocations: 2.134 MB / 348.6 MB, free: 13.71 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01271/0.0778, allocations: 6.422 MB / 355 MB, free: 7.078 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/0.07894, allocations: 0.6909 MB / 355.7 MB, free: 6.383 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001173/0.08012, allocations: 0.5911 MB / 356.3 MB, free: 5.793 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.735e-05/0.08016, allocations: 8.5 kB / 356.3 MB, free: 5.785 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.127e-05/0.0802, allocations: 43.06 kB / 356.4 MB, free: 5.73 MB / 318.1 MB Notification: Performance of pre-optimization done (n=63): time 2.805e-06/0.08021, allocations: 0 / 356.4 MB, free: 5.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=65): time 0.004688/0.08489, allocations: 2.368 MB / 358.7 MB, free: 3.328 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/0.08495, allocations: 64 kB / 358.8 MB, free: 3.254 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/0.08602, allocations: 0.7775 MB / 359.6 MB, free: 2.469 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.465e-05/0.08607, allocations: 41.7 kB / 359.6 MB, free: 2.422 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007176/0.08679, allocations: 0.9479 MB / 360.6 MB, free: 1.461 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001897/0.08698, allocations: 234 kB / 360.8 MB, free: 1.23 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002261/0.08721, allocations: 150.6 kB / 360.9 MB, free: 1.078 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002052/0.08741, allocations: 390.7 kB / 361.3 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006041/0.08802, allocations: 361.8 kB / 361.7 MB, free: 340 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007783/0.08879, allocations: 0.5792 MB / 362.3 MB, free: 15.65 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001377/0.09017, allocations: 0.9872 MB / 363.2 MB, free: 14.57 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.994e-06/0.09018, allocations: 4 kB / 363.3 MB, free: 14.56 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001948/0.09213, allocations: 1.15 MB / 364.4 MB, free: 13.4 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.019e-05/0.09216, allocations: 15.06 kB / 364.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/0.09217, allocations: 8 kB / 364.4 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003388/0.09251, allocations: 108.8 kB / 364.5 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007277/0.09324, allocations: 171.7 kB / 364.7 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002651/0.09589, allocations: 2.18 MB / 366.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000657/0.09655, allocations: 43.97 kB / 366.9 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.646e-05/0.09662, allocations: 40 kB / 367 MB, free: 10.74 MB / 334.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.001278/0.0979, allocations: 0.6535 MB / 367.6 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001905/0.09809, allocations: 79.48 kB / 367.7 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002103/0.0983, allocations: 95.31 kB / 367.8 MB, free: 9.902 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-05/0.09833, allocations: 15.98 kB / 367.8 MB, free: 9.887 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.09834, allocations: 0 / 367.8 MB, free: 9.887 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.09835, allocations: 3.938 kB / 367.8 MB, free: 9.883 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004204/0.1026, allocations: 2.22 MB / 370 MB, free: 7.605 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.1026, allocations: 4 kB / 370 MB, free: 7.602 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004866/0.103, allocations: 108 kB / 370.1 MB, free: 7.496 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002646/0.1033, allocations: 108.7 kB / 370.2 MB, free: 7.387 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.317e-05/0.1034, allocations: 12 kB / 370.3 MB, free: 7.375 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002276/0.1056, allocations: 2.117 MB / 372.4 MB, free: 5.152 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.1056, allocations: 8.047 kB / 372.4 MB, free: 5.145 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002295/0.1079, allocations: 1.415 MB / 373.8 MB, free: 3.695 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000391/0.1083, allocations: 151.4 kB / 373.9 MB, free: 3.547 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.885e-05/0.1084, allocations: 16 kB / 374 MB, free: 3.531 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004326/0.1089, allocations: 48.02 kB / 374 MB, free: 3.484 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.109, allocations: 48.34 kB / 374 MB, free: 3.438 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.073e-05/0.109, allocations: 24.06 kB / 374.1 MB, free: 3.414 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000764/0.1098, allocations: 0.5341 MB / 374.6 MB, free: 2.887 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1098, allocations: 0 / 374.6 MB, free: 2.887 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001155/0.111, allocations: 311.9 kB / 374.9 MB, free: 2.582 MB / 334.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.0002925/0.1113, allocations: 143 kB / 375.1 MB, free: 2.434 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001754/0.113, allocations: 0.9649 MB / 376 MB, free: 1.457 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.113, allocations: 4.062 kB / 376 MB, free: 1.453 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009026/0.1139, allocations: 0.5363 MB / 376.6 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.115, allocations: 199.7 kB / 376.8 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005608/0.1206, allocations: 3.216 MB / 380 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00154/0.1222, allocations: 1.148 MB / 381.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000585/0.1228, allocations: 194.9 kB / 381.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003275/0.1231, allocations: 64.48 kB / 381.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of SimCode: time 9.22e-07/0.1231, allocations: 0 / 381.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of Templates: time 0.02478/0.1479, allocations: 12.22 MB / 393.6 MB, free: 15.98 MB / 366.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 4.636051155626774]