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.01076/0.01076, allocations: 107.4 kB / 21.98 MB, free: 5.223 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.002669/0.002669, allocations: 216.6 kB / 25.29 MB, free: 3.203 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.499/1.499, allocations: 230.6 MB / 259 MB, free: 8.043 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.002154/0.002154, allocations: 67.83 kB / 379.8 MB, free: 2.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2399, allocations: 53.36 MB / 433.2 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.008521/0.2484, allocations: 6.075 MB / 439.2 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003961/0.2524, allocations: 1.705 MB / 441 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009789/0.2534, allocations: 63.62 kB / 441 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007547/0.2541, allocations: 317.4 kB / 441.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001599/0.2557, allocations: 393.4 kB / 441.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008278/0.2566, allocations: 355.6 kB / 442.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002915/0.2595, allocations: 2.024 MB / 444.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002356/0.2618, allocations: 1.599 MB / 445.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001541/0.2634, allocations: 1.067 MB / 446.7 MB, free: 9.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001913/0.2653, allocations: 1.222 MB / 448 MB, free: 8.023 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004673/0.2658, allocations: 312 kB / 448.3 MB, free: 7.719 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009173/0.2667, allocations: 0.5229 MB / 448.8 MB, free: 7.195 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007037/0.2674, allocations: 0.7324 MB / 449.5 MB, free: 6.461 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001506/0.2689, allocations: 1.26 MB / 450.8 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004535/0.2734, allocations: 3.812 MB / 454.6 MB, free: 1.375 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.2734, allocations: 0 / 454.6 MB, free: 1.375 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.2734, allocations: 0 / 454.6 MB, free: 1.375 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001014/0.2735, allocations: 0 / 454.6 MB, free: 1.375 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.005424/0.279, allocations: 2.454 MB / 457.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.279, allocations: 8.031 kB / 457.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000876/0.2799, allocations: 275.4 kB / 457.3 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002498/0.2824, allocations: 1.277 MB / 458.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001386/0.2825, allocations: 164.9 kB / 458.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003483/0.2829, allocations: 232.1 kB / 459 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005124/0.288, allocations: 2.545 MB / 461.5 MB, free: 10.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.763e-05/0.288, allocations: 4 kB / 461.5 MB, free: 10.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001916/0.2882, allocations: 88 kB / 461.6 MB, free: 10.21 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.279e-05/0.2883, allocations: 56 kB / 461.7 MB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003957/0.2922, allocations: 2.134 MB / 463.8 MB, free: 8.008 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01245/0.3047, allocations: 7.354 MB / 471.2 MB, free: 440 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.3058, allocations: 0.7019 MB / 471.9 MB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001115/0.307, allocations: 0.5946 MB / 472.5 MB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.756e-05/0.307, allocations: 8.5 kB / 472.5 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/0.307, allocations: 39 kB / 472.5 MB, free: 15.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 2.846e-06/0.307, allocations: 0 / 472.5 MB, free: 15.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=65): time 0.004438/0.3115, allocations: 2.379 MB / 474.9 MB, free: 12.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.3115, allocations: 64.06 kB / 475 MB, free: 12.58 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.3126, allocations: 0.8012 MB / 475.8 MB, free: 11.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.257e-05/0.3127, allocations: 45.62 kB / 475.8 MB, free: 11.72 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006954/0.3134, allocations: 0.9441 MB / 476.7 MB, free: 10.76 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002016/0.3136, allocations: 238 kB / 477 MB, free: 10.53 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002279/0.3138, allocations: 146.6 kB / 477.1 MB, free: 10.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0003275/0.3141, allocations: 390.8 kB / 477.5 MB, free: 9.988 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005908/0.3147, allocations: 361.8 kB / 477.9 MB, free: 9.633 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007774/0.3155, allocations: 0.5829 MB / 478.4 MB, free: 8.957 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/0.3169, allocations: 0.9872 MB / 479.4 MB, free: 7.875 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.3169, allocations: 0 / 479.4 MB, free: 7.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001958/0.3189, allocations: 1.157 MB / 480.6 MB, free: 6.707 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.3189, allocations: 11.94 kB / 480.6 MB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/0.3189, allocations: 8 kB / 480.6 MB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003311/0.3192, allocations: 121 kB / 480.7 MB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006903/0.3199, allocations: 163.8 kB / 480.9 MB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002509/0.3224, allocations: 2.222 MB / 483.1 MB, free: 4.074 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005658/0.323, allocations: 39.97 kB / 483.1 MB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.81e-05/0.3231, allocations: 39.98 kB / 483.2 MB, free: 3.996 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.001098/0.3242, allocations: 0.6514 MB / 483.8 MB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002138/0.3244, allocations: 95.36 kB / 483.9 MB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002108/0.3246, allocations: 95.69 kB / 484 MB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.823e-05/0.3246, allocations: 8 kB / 484 MB, free: 3.133 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/0.3246, allocations: 4 kB / 484 MB, free: 3.129 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.3246, allocations: 3.984 kB / 484 MB, free: 3.125 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004717/0.3294, allocations: 2.637 MB / 486.7 MB, free: 428 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.3294, allocations: 0 / 486.7 MB, free: 428 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004872/0.3299, allocations: 107.8 kB / 486.8 MB, free: 320 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002583/0.3301, allocations: 92.78 kB / 486.9 MB, free: 224 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.641e-05/0.3302, allocations: 20.14 kB / 486.9 MB, free: 204 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002505/0.3327, allocations: 2.175 MB / 489.1 MB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/0.3327, allocations: 8.062 kB / 489.1 MB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002341/0.335, allocations: 1.419 MB / 490.5 MB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004325/0.3354, allocations: 155.5 kB / 490.6 MB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.64e-05/0.3355, allocations: 12 kB / 490.7 MB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004332/0.336, allocations: 47.95 kB / 490.7 MB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.3361, allocations: 48.41 kB / 490.7 MB, free: 12.19 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-05/0.3362, allocations: 19.98 kB / 490.8 MB, free: 12.17 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000836/0.337, allocations: 0.5654 MB / 491.3 MB, free: 11.61 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.337, allocations: 0 / 491.3 MB, free: 11.61 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0011/0.3381, allocations: 299.9 kB / 491.6 MB, free: 11.31 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.0002791/0.3384, allocations: 135.1 kB / 491.8 MB, free: 11.17 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001819/0.3402, allocations: 0.9676 MB / 492.7 MB, free: 10.2 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.3402, allocations: 0 / 492.7 MB, free: 10.2 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009585/0.3411, allocations: 0.5417 MB / 493.3 MB, free: 9.641 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/0.3424, allocations: 218.8 kB / 493.5 MB, free: 9.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006037/0.3485, allocations: 3.278 MB / 496.8 MB, free: 6.098 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001515/0.35, allocations: 1.696 MB / 498.5 MB, free: 4.367 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002787/0.3503, allocations: 63.44 kB / 498.5 MB, free: 4.305 MB / 398.1 MB Notification: Performance of SimCode: time 1.292e-06/0.3503, allocations: 0 / 498.5 MB, free: 4.305 MB / 398.1 MB Notification: Performance of Templates: time 0.04141/0.3917, allocations: 28.79 MB / 0.515 GB, free: 7.566 MB / 430.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/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: 10.599149686051533]