Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001611/0.001611, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.00189/0.00189, allocations: 213.2 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.447/1.447, allocations: 230.6 MB / 258.2 MB, free: 8.078 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 60.77 kB / 379 MB, free: 2.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.2439, allocations: 53.37 MB / 432.4 MB, free: 6.996 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01866/0.2626, allocations: 16.62 MB / 449 MB, free: 6.309 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008336/0.2709, allocations: 4.173 MB / 453.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002613/0.2735, allocations: 159.2 kB / 453.4 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01674/0.2903, allocations: 7.515 MB / 460.9 MB, free: 10.43 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005595/0.2959, allocations: 1.357 MB / 462.2 MB, free: 9.07 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003343/0.2992, allocations: 1.266 MB / 463.5 MB, free: 7.805 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0101/0.3093, allocations: 8.304 MB / 471.8 MB, free: 15.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02065/0.3299, allocations: 13.68 MB / 485.5 MB, free: 1.602 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006528/0.3365, allocations: 4.914 MB / 490.4 MB, free: 12.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008371/0.3448, allocations: 5.357 MB / 495.8 MB, free: 7.301 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003052/0.3479, allocations: 1.379 MB / 497.1 MB, free: 5.922 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003783/0.3517, allocations: 1.675 MB / 498.8 MB, free: 4.246 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002667/0.3543, allocations: 2.592 MB / 0.4896 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006464/0.3608, allocations: 5.214 MB / 0.4947 GB, free: 12.41 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01919/0.38, allocations: 18.35 MB / 0.5127 GB, free: 10.01 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.38, allocations: 4 kB / 0.5127 GB, free: 10 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.38, allocations: 3.984 kB / 0.5127 GB, free: 10 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004451/0.3805, allocations: 0 / 0.5127 GB, free: 10 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.03064/0.4111, allocations: 10.55 MB / 0.523 GB, free: 15.38 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.4112, allocations: 12.03 kB / 0.523 GB, free: 15.37 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01987/0.431, allocations: 3.706 MB / 0.5266 GB, free: 11.65 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01152/0.4425, allocations: 5.429 MB / 0.5319 GB, free: 6.164 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007601/0.4433, allocations: 0.6785 MB / 0.5326 GB, free: 5.484 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002879/0.4462, allocations: 0.8867 MB / 0.5334 GB, free: 4.598 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4103/0.8564, allocations: 12.74 MB / 0.5459 GB, free: 84.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003546/0.8568, allocations: 7.047 kB / 0.5459 GB, free: 84.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0024/0.8592, allocations: 375.1 kB / 0.5462 GB, free: 84.42 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004388/0.8596, allocations: 403.3 kB / 0.5466 GB, free: 84.39 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01983/0.8795, allocations: 11.43 MB / 0.5578 GB, free: 79.19 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0666/0.9461, allocations: 42.37 MB / 0.5992 GB, free: 38.56 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007452/0.9535, allocations: 4.207 MB / 0.6033 GB, free: 34.6 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002067/0.9556, allocations: 1.535 MB / 0.6048 GB, free: 33.08 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002809/0.9559, allocations: 83.86 kB / 0.6048 GB, free: 33.01 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.9559, allocations: 56.56 kB / 0.6049 GB, free: 32.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 5.28e-06/0.9559, allocations: 0 / 0.6049 GB, free: 32.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.007835/0.9637, allocations: 4.599 MB / 0.6094 GB, free: 28.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.9638, allocations: 77.34 kB / 0.6095 GB, free: 28.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00451/0.9683, allocations: 2.932 MB / 0.6123 GB, free: 25.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002763/0.9686, allocations: 65.64 kB / 0.6124 GB, free: 25.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002035/0.9706, allocations: 3.98 MB / 0.6163 GB, free: 21.71 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006971/0.9713, allocations: 0.8266 MB / 0.6171 GB, free: 20.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001491/0.9728, allocations: 0.9604 MB / 0.618 GB, free: 19.92 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.421e-05/0.9728, allocations: 305.1 kB / 0.6183 GB, free: 19.62 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002547/0.9754, allocations: 1.976 MB / 0.6202 GB, free: 17.63 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003301/0.9787, allocations: 4.165 MB / 0.6243 GB, free: 12.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005867/0.9845, allocations: 6.513 MB / 0.6307 GB, free: 4.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-05/0.9846, allocations: 20 kB / 0.6307 GB, free: 4.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.009906/0.9945, allocations: 6.536 MB / 0.6371 GB, free: 14.27 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.446e-05/0.9946, allocations: 36 kB / 0.6371 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001261/0.9947, allocations: 76 kB / 0.6372 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00105/0.9958, allocations: 404.7 kB / 0.6376 GB, free: 13.76 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003519/0.9993, allocations: 1.065 MB / 0.6386 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00589/1.005, allocations: 4.28 MB / 0.6428 GB, free: 8.309 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003805/1.009, allocations: 0.6325 MB / 0.6434 GB, free: 7.672 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008103/1.01, allocations: 256 kB / 0.6436 GB, free: 7.422 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.00645/1.016, allocations: 3.371 MB / 0.6469 GB, free: 4.039 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009167/1.017, allocations: 290.1 kB / 0.6472 GB, free: 3.754 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007073/1.024, allocations: 3.565 MB / 0.6507 GB, free: 164 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004638/1.029, allocations: 2.811 MB / 0.6534 GB, free: 13.34 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.662e-05/1.029, allocations: 4 kB / 0.6534 GB, free: 13.34 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.498e-05/1.029, allocations: 15.95 kB / 0.6535 GB, free: 13.32 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02401/1.053, allocations: 9.91 MB / 0.6631 GB, free: 3.348 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.336e-05/1.053, allocations: 4 kB / 0.6631 GB, free: 3.344 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001777/1.055, allocations: 415.4 kB / 0.6635 GB, free: 2.938 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008801/1.056, allocations: 308.7 kB / 0.6638 GB, free: 2.633 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002745/1.056, allocations: 51.98 kB / 0.6639 GB, free: 2.582 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005652/1.062, allocations: 4.105 MB / 0.6679 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/1.062, allocations: 4 kB / 0.6679 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008826/1.07, allocations: 5.142 MB / 0.6729 GB, free: 9.18 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001528/1.072, allocations: 0.5638 MB / 0.6735 GB, free: 8.613 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005874/1.072, allocations: 40 kB / 0.6735 GB, free: 8.574 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001396/1.074, allocations: 127.8 kB / 0.6736 GB, free: 8.449 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003429/1.074, allocations: 157.8 kB / 0.6738 GB, free: 8.297 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001582/1.074, allocations: 71.92 kB / 0.6738 GB, free: 8.227 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003755/1.078, allocations: 1.967 MB / 0.6758 GB, free: 6.25 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.078, allocations: 0 / 0.6758 GB, free: 6.25 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005743/1.084, allocations: 1.984 MB / 0.6777 GB, free: 4.258 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.0005627/1.084, allocations: 206.7 kB / 0.6779 GB, free: 4.047 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007767/1.092, allocations: 4.437 MB / 0.6822 GB, free: 15.61 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 7.665e-06/1.092, allocations: 4.125 kB / 0.6822 GB, free: 15.6 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.002647/1.095, allocations: 1.621 MB / 0.6838 GB, free: 13.97 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003453/1.098, allocations: 0.6915 MB / 0.6845 GB, free: 13.3 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02759/1.126, allocations: 13.51 MB / 0.6977 GB, free: 15.73 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008451/1.134, allocations: 5.645 MB / 0.7032 GB, free: 10.04 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.004031/1.138, allocations: 1.694 MB / 0.7049 GB, free: 8.344 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000664/1.139, allocations: 243.4 kB / 0.7051 GB, free: 8.105 MB / 0.5138 GB Notification: Performance of SimCode: time 1.062e-06/1.139, allocations: 0 / 0.7051 GB, free: 8.105 MB / 0.5138 GB Notification: Performance of Templates: time 0.3002/1.439, allocations: 44.38 MB / 0.7484 GB, free: 179 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.844157283194363]