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.001636/0.001636, allocations: 120.9 kB / 19.18 MB, free: 3.949 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.001955/0.001955, allocations: 210.6 kB / 22.13 MB, free: 1.004 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.448/1.448, allocations: 230.2 MB / 255.1 MB, free: 15.07 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.001937/0.001937, allocations: 67.89 kB / 374.5 MB, free: 9.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1024, allocations: 53.31 MB / 427.8 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.1878/0.2902, allocations: 16.58 MB / 444.4 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007978/0.2982, allocations: 4.157 MB / 448.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00247/0.3006, allocations: 138.3 kB / 448.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01644/0.3171, allocations: 7.488 MB / 456.2 MB, free: 10.7 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005818/0.3229, allocations: 1.337 MB / 457.5 MB, free: 9.824 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003512/0.3264, allocations: 1.239 MB / 458.8 MB, free: 9.059 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01025/0.3367, allocations: 8.256 MB / 467 MB, free: 4.547 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02687/0.3635, allocations: 17.34 MB / 484.4 MB, free: 8.242 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007215/0.3707, allocations: 4.816 MB / 489.2 MB, free: 3.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008325/0.3791, allocations: 5.346 MB / 494.5 MB, free: 14.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002938/0.382, allocations: 1.383 MB / 495.9 MB, free: 12.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004185/0.3862, allocations: 1.664 MB / 497.6 MB, free: 11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002721/0.3889, allocations: 2.588 MB / 0.4884 GB, free: 8.406 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006947/0.3958, allocations: 5.214 MB / 0.4935 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02003/0.4159, allocations: 18.36 MB / 0.5115 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.4159, allocations: 0 / 0.5115 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4159, allocations: 0 / 0.5115 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000354/0.4162, allocations: 4 kB / 0.5115 GB, free: 0.7578 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.02668/0.4429, allocations: 10.63 MB / 0.5218 GB, free: 6.035 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.4429, allocations: 11.97 kB / 0.5219 GB, free: 6.023 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01822/0.4612, allocations: 3.706 MB / 0.5255 GB, free: 2.309 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01231/0.4735, allocations: 5.376 MB / 0.5307 GB, free: 12.87 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005963/0.4741, allocations: 0.6785 MB / 0.5314 GB, free: 12.19 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002399/0.4765, allocations: 0.8867 MB / 0.5323 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0285/0.505, allocations: 12.73 MB / 0.5447 GB, free: 14.54 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003279/0.5053, allocations: 15.89 kB / 0.5447 GB, free: 14.52 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002284/0.5076, allocations: 380.9 kB / 0.5451 GB, free: 14.15 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004431/0.508, allocations: 399.1 kB / 0.5454 GB, free: 13.76 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0251/0.5331, allocations: 11.43 MB / 0.5566 GB, free: 2.324 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07011/0.6032, allocations: 43.71 MB / 0.5993 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01109/0.6143, allocations: 10.28 MB / 0.6093 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002339/0.6167, allocations: 1.538 MB / 0.6108 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003019/0.617, allocations: 240 kB / 0.6111 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.192e-05/0.617, allocations: 60.55 kB / 0.6111 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=223): time 3.978e-06/0.617, allocations: 0 / 0.6111 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of matching and sorting (n=223): time 0.008676/0.6257, allocations: 4.68 MB / 0.6157 GB, free: 3.148 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.6257, allocations: 77.41 kB / 0.6158 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004279/0.63, allocations: 2.93 MB / 0.6186 GB, free: 116 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001981/0.6302, allocations: 61.7 kB / 0.6187 GB, free: 48 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.3807/1.011, allocations: 3.969 MB / 0.6226 GB, free: 151.4 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007924/1.012, allocations: 0.83 MB / 0.6234 GB, free: 151 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001455/1.013, allocations: 0.9591 MB / 0.6243 GB, free: 150.9 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.098e-05/1.013, allocations: 302.4 kB / 0.6246 GB, free: 150.6 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002941/1.016, allocations: 1.977 MB / 0.6265 GB, free: 150.3 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003843/1.02, allocations: 4.158 MB / 0.6306 GB, free: 146.7 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007004/1.027, allocations: 6.526 MB / 0.637 GB, free: 141.9 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.962e-05/1.027, allocations: 21.66 kB / 0.637 GB, free: 141.9 MB / 0.5138 GB Notification: Performance of matching and sorting (n=592) (initialization): time 0.01113/1.038, allocations: 6.521 MB / 0.6434 GB, free: 139.4 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 7.98e-05/1.038, allocations: 37 kB / 0.6434 GB, free: 139.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001781/1.038, allocations: 74.22 kB / 0.6435 GB, free: 139.4 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000899/1.039, allocations: 408.9 kB / 0.6438 GB, free: 139.3 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00317/1.043, allocations: 1.074 MB / 0.6449 GB, free: 139.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004415/1.047, allocations: 4.379 MB / 0.6492 GB, free: 136.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002975/1.05, allocations: 0.6335 MB / 0.6498 GB, free: 136 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004114/1.05, allocations: 248 kB / 0.65 GB, free: 136 MB / 0.5138 GB 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.004396/1.055, allocations: 3.375 MB / 0.6533 GB, free: 134.4 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005593/1.055, allocations: 282.3 kB / 0.6536 GB, free: 134.3 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004897/1.06, allocations: 3.572 MB / 0.6571 GB, free: 132.9 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003272/1.063, allocations: 2.816 MB / 0.6598 GB, free: 131.8 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/1.064, allocations: 5.219 kB / 0.6598 GB, free: 131.8 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-05/1.064, allocations: 12.33 kB / 0.6598 GB, free: 131.8 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01364/1.077, allocations: 9.873 MB / 0.6695 GB, free: 128.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/1.077, allocations: 3.656 kB / 0.6695 GB, free: 128.1 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001346/1.079, allocations: 417.1 kB / 0.6699 GB, free: 128.1 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000573/1.079, allocations: 307.8 kB / 0.6702 GB, free: 128 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001043/1.079, allocations: 51.23 kB / 0.6702 GB, free: 127.9 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003589/1.083, allocations: 4.206 MB / 0.6743 GB, free: 125 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/1.083, allocations: 6.844 kB / 0.6743 GB, free: 125 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005228/1.088, allocations: 5.157 MB / 0.6794 GB, free: 120.4 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001138/1.089, allocations: 0.608 MB / 0.68 GB, free: 119.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002775/1.089, allocations: 47.94 kB / 0.68 GB, free: 119.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009848/1.09, allocations: 127.8 kB / 0.6801 GB, free: 119.6 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001997/1.091, allocations: 153.7 kB / 0.6803 GB, free: 119.5 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/1.091, allocations: 71.8 kB / 0.6804 GB, free: 119.4 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.002173/1.093, allocations: 1.967 MB / 0.6823 GB, free: 117.4 MB / 0.5138 GB Notification: Performance of sort global known variables: time 8e-08/1.093, allocations: 2.156 kB / 0.6823 GB, free: 117.4 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.004404/1.097, allocations: 1.992 MB / 0.6842 GB, free: 115.4 MB / 0.5138 GB 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.0004107/1.098, allocations: 198.6 kB / 0.6844 GB, free: 115.2 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.005556/1.103, allocations: 4.433 MB / 0.6887 GB, free: 110.8 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/1.103, allocations: 1.875 kB / 0.6887 GB, free: 110.8 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.001728/1.105, allocations: 1.62 MB / 0.6903 GB, free: 109.2 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002649/1.108, allocations: 0.6874 MB / 0.691 GB, free: 108.5 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01954/1.127, allocations: 13.1 MB / 0.7038 GB, free: 95.39 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004061/1.131, allocations: 5.478 MB / 0.7091 GB, free: 89.87 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000996/1.132, allocations: 279.4 kB / 0.7094 GB, free: 89.6 MB / 0.5138 GB Notification: Performance of SimCode: time 1.333e-06/1.132, allocations: 0 / 0.7094 GB, free: 89.6 MB / 0.5138 GB Notification: Performance of Templates: time 0.3713/1.504, allocations: 133.4 MB / 0.8397 GB, free: 168.2 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: 13.820468246005476]