Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00139/0.00139, allocations: 103.6 kB / 21.19 MB, free: 0.5234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001458/0.001458, allocations: 214.8 kB / 24.48 MB, free: 3.836 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.563/1.563, allocations: 230.5 MB / 258.1 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 64.09 kB / 379 MB, free: 2.324 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2511, allocations: 53.41 MB / 432.4 MB, free: 6.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01791/0.269, allocations: 14.26 MB / 446.7 MB, free: 8.211 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009352/0.2783, allocations: 4.036 MB / 450.7 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002789/0.2811, allocations: 163.2 kB / 450.9 MB, free: 4.004 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01757/0.2987, allocations: 6.906 MB / 457.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006161/0.3049, allocations: 1.335 MB / 459.1 MB, free: 11.74 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003942/0.3088, allocations: 1.227 MB / 460.3 MB, free: 10.52 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01178/0.3206, allocations: 8.3 MB / 468.6 MB, free: 2.184 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02647/0.3471, allocations: 14.22 MB / 482.8 MB, free: 3.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007507/0.3546, allocations: 4.914 MB / 487.8 MB, free: 14.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009315/0.3639, allocations: 5.174 MB / 492.9 MB, free: 9.652 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003593/0.3675, allocations: 1.383 MB / 494.3 MB, free: 8.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00502/0.3725, allocations: 1.664 MB / 496 MB, free: 6.605 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004102/0.3766, allocations: 2.595 MB / 498.6 MB, free: 4.004 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007278/0.3839, allocations: 4.036 MB / 0.4908 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02313/0.407, allocations: 18.45 MB / 0.5088 GB, free: 13.45 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.407, allocations: 0 / 0.5088 GB, free: 13.45 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.407, allocations: 3.938 kB / 0.5088 GB, free: 13.45 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004885/0.4075, allocations: 0 / 0.5088 GB, free: 13.45 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.03096/0.4385, allocations: 10.55 MB / 0.5192 GB, free: 2.824 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.4385, allocations: 15.98 kB / 0.5192 GB, free: 2.809 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02032/0.4588, allocations: 3.706 MB / 0.5228 GB, free: 15.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01222/0.4711, allocations: 5.425 MB / 0.5281 GB, free: 9.609 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007508/0.4718, allocations: 0.6824 MB / 0.5288 GB, free: 8.926 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002941/0.4747, allocations: 0.8906 MB / 0.5296 GB, free: 8.035 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4172/0.892, allocations: 12.81 MB / 0.5421 GB, free: 86.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002408/0.8922, allocations: 7.578 kB / 0.5421 GB, free: 86.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001405/0.8936, allocations: 380.8 kB / 0.5425 GB, free: 86.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004364/0.894, allocations: 396.5 kB / 0.5429 GB, free: 86.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02056/0.9146, allocations: 11.4 MB / 0.554 GB, free: 82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05908/0.9737, allocations: 37.36 MB / 0.5905 GB, free: 46.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007554/0.9812, allocations: 4.175 MB / 0.5946 GB, free: 42.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001993/0.9832, allocations: 1.539 MB / 0.5961 GB, free: 40.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002454/0.9835, allocations: 65.94 kB / 0.5961 GB, free: 40.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.9835, allocations: 52.56 kB / 0.5962 GB, free: 40.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 5.18e-06/0.9835, allocations: 0 / 0.5962 GB, free: 40.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.007679/0.9912, allocations: 4.602 MB / 0.6007 GB, free: 36.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.9912, allocations: 77.34 kB / 0.6008 GB, free: 36.13 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004135/0.9954, allocations: 3.042 MB / 0.6037 GB, free: 33.17 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002123/0.9956, allocations: 61.7 kB / 0.6038 GB, free: 33.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001501/0.9971, allocations: 3.982 MB / 0.6077 GB, free: 29.47 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000577/0.9977, allocations: 0.8335 MB / 0.6085 GB, free: 28.65 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00128/0.9989, allocations: 0.9644 MB / 0.6094 GB, free: 27.67 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.69e-05/0.999, allocations: 301.1 kB / 0.6097 GB, free: 27.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002316/1.001, allocations: 1.973 MB / 0.6116 GB, free: 25.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003104/1.004, allocations: 4.165 MB / 0.6157 GB, free: 20.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006481/1.011, allocations: 6.517 MB / 0.6221 GB, free: 12.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.668e-05/1.011, allocations: 20 kB / 0.6221 GB, free: 12.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.009807/1.021, allocations: 6.524 MB / 0.6285 GB, free: 6.043 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.329e-05/1.021, allocations: 36 kB / 0.6285 GB, free: 6.008 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001243/1.021, allocations: 76.19 kB / 0.6286 GB, free: 5.934 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008228/1.022, allocations: 417.2 kB / 0.629 GB, free: 5.523 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003058/1.025, allocations: 1.064 MB / 0.63 GB, free: 4.457 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004208/1.029, allocations: 4.178 MB / 0.6341 GB, free: 188 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003615/1.033, allocations: 0.6286 MB / 0.6347 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007649/1.033, allocations: 252 kB / 0.6349 GB, free: 15.3 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.006663/1.04, allocations: 3.376 MB / 0.6382 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009495/1.041, allocations: 286.2 kB / 0.6385 GB, free: 11.63 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007295/1.048, allocations: 3.584 MB / 0.642 GB, free: 8.016 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004765/1.053, allocations: 2.807 MB / 0.6448 GB, free: 5.199 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.548e-05/1.053, allocations: 4 kB / 0.6448 GB, free: 5.195 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.821e-05/1.053, allocations: 11.95 kB / 0.6448 GB, free: 5.184 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01888/1.072, allocations: 7.996 MB / 0.6526 GB, free: 13.16 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.356e-05/1.072, allocations: 4 kB / 0.6526 GB, free: 13.15 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00175/1.074, allocations: 423.3 kB / 0.653 GB, free: 12.74 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007959/1.075, allocations: 312.7 kB / 0.6533 GB, free: 12.43 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001989/1.075, allocations: 47.98 kB / 0.6533 GB, free: 12.38 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005571/1.08, allocations: 4.012 MB / 0.6573 GB, free: 8.27 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/1.08, allocations: 4 kB / 0.6573 GB, free: 8.266 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008373/1.089, allocations: 5.132 MB / 0.6623 GB, free: 3.098 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001707/1.09, allocations: 0.556 MB / 0.6628 GB, free: 2.539 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005892/1.091, allocations: 39.94 kB / 0.6629 GB, free: 2.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001424/1.092, allocations: 135.8 kB / 0.663 GB, free: 2.367 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003288/1.093, allocations: 157.6 kB / 0.6631 GB, free: 2.215 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001632/1.093, allocations: 72.05 kB / 0.6632 GB, free: 2.145 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003816/1.097, allocations: 1.943 MB / 0.6651 GB, free: 196 kB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/1.097, allocations: 0 / 0.6651 GB, free: 196 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.006047/1.103, allocations: 1.996 MB / 0.667 GB, free: 14.18 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.0006417/1.103, allocations: 198.7 kB / 0.6672 GB, free: 13.98 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008205/1.112, allocations: 4.444 MB / 0.6716 GB, free: 9.535 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/1.112, allocations: 0 / 0.6716 GB, free: 9.535 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002922/1.115, allocations: 1.618 MB / 0.6732 GB, free: 7.91 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003744/1.118, allocations: 0.6751 MB / 0.6738 GB, free: 7.25 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02872/1.147, allocations: 13.24 MB / 0.6867 GB, free: 9.941 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008282/1.155, allocations: 5.008 MB / 0.6916 GB, free: 4.891 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0011/1.156, allocations: 283.4 kB / 0.6919 GB, free: 4.613 MB / 0.4982 GB Notification: Performance of SimCode: time 1.773e-06/1.156, allocations: 0 / 0.6919 GB, free: 4.613 MB / 0.4982 GB Notification: Performance of Templates: time 0.3985/1.555, allocations: 136 MB / 0.8248 GB, free: 113.6 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 14.63161075534299]