Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.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.001351/0.001351, 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.001583/0.001583, 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.495/1.495, allocations: 230.6 MB / 258.3 MB, free: 8.051 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.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.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.001943/0.001943, allocations: 72.75 kB / 379 MB, free: 2.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2825, allocations: 53.37 MB / 432.4 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.007993/0.2905, allocations: 6.073 MB / 438.5 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004646/0.2952, allocations: 1.701 MB / 440.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001296/0.2965, allocations: 59.62 kB / 440.2 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007489/0.2972, allocations: 325.5 kB / 440.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001395/0.2986, allocations: 393.4 kB / 440.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008817/0.2995, allocations: 359.5 kB / 441.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002569/0.3021, allocations: 2.017 MB / 443.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002131/0.3042, allocations: 1.603 MB / 444.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001538/0.3057, allocations: 1.071 MB / 446 MB, free: 9.258 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001774/0.3075, allocations: 1.222 MB / 447.2 MB, free: 8.031 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003924/0.3079, allocations: 308 kB / 447.5 MB, free: 7.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009055/0.3088, allocations: 0.5229 MB / 448 MB, free: 7.207 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006948/0.3095, allocations: 0.7325 MB / 448.8 MB, free: 6.473 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001473/0.311, allocations: 1.26 MB / 450 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004323/0.3153, allocations: 3.817 MB / 453.8 MB, free: 1.383 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3153, allocations: 0 / 453.8 MB, free: 1.383 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3153, allocations: 4 kB / 453.9 MB, free: 1.379 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.854e-05/0.3154, allocations: 0 / 453.9 MB, free: 1.379 MB / 350.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.004763/0.3201, allocations: 2.446 MB / 456.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.3202, allocations: 12.03 kB / 456.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008387/0.321, allocations: 279.4 kB / 456.6 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002326/0.3234, allocations: 1.273 MB / 457.9 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001391/0.3235, allocations: 168.9 kB / 458 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003287/0.3238, allocations: 220.1 kB / 458.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004727/0.3286, allocations: 2.538 MB / 460.8 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.661e-05/0.3286, allocations: 3.938 kB / 460.8 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000196/0.3288, allocations: 92 kB / 460.9 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.676e-05/0.3289, allocations: 63.98 kB / 460.9 MB, free: 10.17 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003765/0.3326, allocations: 2.137 MB / 463.1 MB, free: 8.016 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01203/0.3447, allocations: 7.354 MB / 470.4 MB, free: 448 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.3457, allocations: 0.698 MB / 471.1 MB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001039/0.3468, allocations: 0.5906 MB / 471.7 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.154e-05/0.3468, allocations: 8.5 kB / 471.7 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.3469, allocations: 43.06 kB / 471.8 MB, free: 15.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 2.425e-06/0.3469, allocations: 0 / 471.8 MB, free: 15.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=65): time 0.004206/0.3511, allocations: 2.379 MB / 474.1 MB, free: 12.67 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.3511, allocations: 60.06 kB / 474.2 MB, free: 12.6 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/0.3522, allocations: 0.805 MB / 475 MB, free: 11.78 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.044e-05/0.3523, allocations: 37.69 kB / 475 MB, free: 11.74 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007132/0.353, allocations: 0.9441 MB / 476 MB, free: 10.78 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002157/0.3532, allocations: 241.9 kB / 476.2 MB, free: 10.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002339/0.3534, allocations: 150.6 kB / 476.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002796/0.3537, allocations: 394.8 kB / 476.8 MB, free: 9.996 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005987/0.3543, allocations: 369.7 kB / 477.1 MB, free: 9.633 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007746/0.3551, allocations: 0.5752 MB / 477.7 MB, free: 8.965 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001438/0.3565, allocations: 0.9833 MB / 478.7 MB, free: 7.887 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.3565, allocations: 4 kB / 478.7 MB, free: 7.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002102/0.3586, allocations: 1.157 MB / 479.8 MB, free: 6.715 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.996e-05/0.3587, allocations: 16.03 kB / 479.8 MB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.001e-05/0.3587, allocations: 8 kB / 479.9 MB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003229/0.359, allocations: 108.8 kB / 480 MB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006892/0.3597, allocations: 167.7 kB / 480.1 MB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002726/0.3624, allocations: 2.222 MB / 482.3 MB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006317/0.363, allocations: 35.97 kB / 482.4 MB, free: 4.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.139e-05/0.3631, allocations: 36 kB / 482.4 MB, free: 4.016 MB / 382.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.001431/0.3645, allocations: 0.6496 MB / 483.1 MB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002553/0.3648, allocations: 91.38 kB / 483.2 MB, free: 3.266 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002346/0.365, allocations: 103.7 kB / 483.3 MB, free: 3.156 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.899e-05/0.3651, allocations: 12.06 kB / 483.3 MB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.915e-05/0.3651, allocations: 192 / 483.3 MB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.3651, allocations: 3.984 kB / 483.3 MB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005036/0.3701, allocations: 2.641 MB / 485.9 MB, free: 440 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/0.3701, allocations: 4 kB / 485.9 MB, free: 436 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004739/0.3706, allocations: 104 kB / 486 MB, free: 332 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003558/0.371, allocations: 96.78 kB / 486.1 MB, free: 232 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.991e-05/0.371, allocations: 23.97 kB / 486.1 MB, free: 208 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002452/0.3735, allocations: 2.163 MB / 488.3 MB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.3735, allocations: 3.984 kB / 488.3 MB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002473/0.3759, allocations: 1.419 MB / 489.7 MB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005404/0.3765, allocations: 159.3 kB / 489.9 MB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.802e-05/0.3766, allocations: 12 kB / 489.9 MB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004164/0.377, allocations: 47.89 kB / 489.9 MB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/0.3771, allocations: 52.41 kB / 490 MB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.347e-05/0.3772, allocations: 20 kB / 490 MB, free: 12.18 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008501/0.378, allocations: 0.5614 MB / 490.6 MB, free: 11.62 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.378, allocations: 4 kB / 490.6 MB, free: 11.62 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001249/0.3793, allocations: 307.9 kB / 490.9 MB, free: 11.32 MB / 398.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.0002905/0.3796, allocations: 123.2 kB / 491 MB, free: 11.19 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001907/0.3815, allocations: 0.9722 MB / 492 MB, free: 10.21 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.3815, allocations: 0.5 kB / 492 MB, free: 10.21 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009316/0.3824, allocations: 0.5402 MB / 492.5 MB, free: 9.652 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.3837, allocations: 215.2 kB / 492.7 MB, free: 9.445 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006409/0.3901, allocations: 3.29 MB / 496 MB, free: 6.105 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001641/0.3917, allocations: 1.724 MB / 497.7 MB, free: 4.344 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000659/0.3924, allocations: 203.1 kB / 497.9 MB, free: 4.141 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001913/0.3926, allocations: 63.42 kB / 498 MB, free: 4.078 MB / 398.1 MB Notification: Performance of SimCode: time 1.353e-06/0.3926, allocations: 0 / 498 MB, free: 4.078 MB / 398.1 MB Notification: Performance of Templates: time 0.02752/0.4201, allocations: 13.12 MB / 0.4991 GB, free: 7.109 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.812066814862192]