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.00151/0.00151, allocations: 114 kB / 21.18 MB, free: 0.5898 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.001668/0.001668, allocations: 206.6 kB / 24.47 MB, free: 3.996 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.41/1.41, allocations: 230.4 MB / 258.1 MB, free: 8.145 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.001865/0.001865, allocations: 63.89 kB / 378.7 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2613, allocations: 53.31 MB / 432 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.00762/0.269, allocations: 6.078 MB / 438.1 MB, free: 1.285 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003504/0.2725, allocations: 1.69 MB / 439.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005813/0.273, allocations: 51.81 kB / 439.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006525/0.2737, allocations: 325.4 kB / 440.2 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001122/0.2748, allocations: 381.5 kB / 440.6 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006902/0.2755, allocations: 351.5 kB / 440.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00205/0.2776, allocations: 2.024 MB / 442.9 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001999/0.2796, allocations: 1.595 MB / 444.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001223/0.2808, allocations: 1.055 MB / 445.6 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001593/0.2824, allocations: 1.218 MB / 446.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003724/0.2827, allocations: 308 kB / 447.1 MB, free: 8.227 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007379/0.2835, allocations: 479.6 kB / 447.6 MB, free: 7.758 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006647/0.2842, allocations: 0.7364 MB / 448.3 MB, free: 7.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001258/0.2854, allocations: 1.264 MB / 449.6 MB, free: 5.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003796/0.2892, allocations: 3.813 MB / 453.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2892, allocations: 0 / 453.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.2892, allocations: 0 / 453.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.625e-05/0.2893, allocations: 0 / 453.4 MB, free: 1.926 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.004679/0.294, allocations: 2.522 MB / 455.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.294, allocations: 12.03 kB / 455.9 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008268/0.2948, allocations: 275.4 kB / 456.2 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002351/0.2972, allocations: 1.334 MB / 457.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001395/0.2973, allocations: 172.9 kB / 457.7 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003036/0.2976, allocations: 220.1 kB / 457.9 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004502/0.3021, allocations: 2.542 MB / 460.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.088e-05/0.3022, allocations: 4 kB / 460.4 MB, free: 10.69 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000192/0.3024, allocations: 88 kB / 460.5 MB, free: 10.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.517e-05/0.3024, allocations: 56 kB / 460.6 MB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003569/0.306, allocations: 2.145 MB / 462.7 MB, free: 8.391 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01162/0.3176, allocations: 7.505 MB / 470.2 MB, free: 0.668 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001382/0.319, allocations: 1.223 MB / 471.5 MB, free: 15.31 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001061/0.3201, allocations: 0.5945 MB / 472 MB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.066e-05/0.3201, allocations: 8.562 kB / 472.1 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.982e-05/0.3202, allocations: 39.12 kB / 472.1 MB, free: 14.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 3.297e-06/0.3202, allocations: 3.938 kB / 472.1 MB, free: 14.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=65): time 0.004357/0.3245, allocations: 2.454 MB / 474.6 MB, free: 12.15 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.3246, allocations: 59.97 kB / 474.6 MB, free: 12.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/0.3256, allocations: 0.8012 MB / 475.4 MB, free: 11.26 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.955e-05/0.3257, allocations: 37.7 kB / 475.4 MB, free: 11.22 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006475/0.3263, allocations: 0.9518 MB / 476.4 MB, free: 10.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001941/0.3265, allocations: 238 kB / 476.6 MB, free: 10.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002212/0.3267, allocations: 146.6 kB / 476.8 MB, free: 9.871 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002051/0.3269, allocations: 394.8 kB / 477.2 MB, free: 9.477 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005598/0.3275, allocations: 357.8 kB / 477.5 MB, free: 9.125 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000748/0.3282, allocations: 0.5829 MB / 478.1 MB, free: 8.445 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.3296, allocations: 0.9855 MB / 479.1 MB, free: 7.367 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.3296, allocations: 0 / 479.1 MB, free: 7.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001841/0.3314, allocations: 1.155 MB / 480.2 MB, free: 6.199 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.247e-05/0.3315, allocations: 11.94 kB / 480.2 MB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.3315, allocations: 8 kB / 480.3 MB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002874/0.3318, allocations: 112.7 kB / 480.4 MB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006825/0.3324, allocations: 171.8 kB / 480.5 MB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002414/0.3349, allocations: 2.326 MB / 482.9 MB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004888/0.3353, allocations: 35.98 kB / 482.9 MB, free: 3.402 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.304e-05/0.3354, allocations: 43.92 kB / 482.9 MB, free: 3.359 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.0009971/0.3364, allocations: 0.6489 MB / 483.6 MB, free: 2.703 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/0.3366, allocations: 91.38 kB / 483.7 MB, free: 2.613 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001961/0.3368, allocations: 107.7 kB / 483.8 MB, free: 2.504 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.648e-05/0.3368, allocations: 8 kB / 483.8 MB, free: 2.496 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.3368, allocations: 4 kB / 483.8 MB, free: 2.492 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.505e-06/0.3368, allocations: 7.922 kB / 483.8 MB, free: 2.484 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004365/0.3412, allocations: 2.651 MB / 486.4 MB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.3412, allocations: 8.156 kB / 486.5 MB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004572/0.3417, allocations: 99.86 kB / 486.6 MB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002345/0.3419, allocations: 100.7 kB / 486.7 MB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.027e-05/0.3419, allocations: 19.94 kB / 486.7 MB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002203/0.3441, allocations: 2.271 MB / 488.9 MB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.3441, allocations: 8.094 kB / 489 MB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002131/0.3463, allocations: 1.413 MB / 490.4 MB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004129/0.3467, allocations: 228.5 kB / 490.6 MB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.607e-05/0.3468, allocations: 15.91 kB / 490.6 MB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000421/0.3472, allocations: 43.89 kB / 490.6 MB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.3473, allocations: 52.56 kB / 490.7 MB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.149e-05/0.3474, allocations: 19.98 kB / 490.7 MB, free: 11.29 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007369/0.3481, allocations: 0.5615 MB / 491.3 MB, free: 10.73 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3481, allocations: 0 / 491.3 MB, free: 10.73 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00105/0.3491, allocations: 296 kB / 491.6 MB, free: 10.44 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.0002669/0.3494, allocations: 143 kB / 491.7 MB, free: 10.29 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001658/0.3511, allocations: 0.9642 MB / 492.7 MB, free: 9.316 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3511, allocations: 0 / 492.7 MB, free: 9.316 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008369/0.3519, allocations: 0.5328 MB / 493.2 MB, free: 8.773 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.353, allocations: 226.2 kB / 493.4 MB, free: 8.559 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005848/0.3588, allocations: 3.289 MB / 496.7 MB, free: 5.211 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001452/0.3603, allocations: 1.684 MB / 498.4 MB, free: 3.496 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000258/0.3605, allocations: 67.42 kB / 498.5 MB, free: 3.43 MB / 398.1 MB Notification: Performance of SimCode: time 1.453e-06/0.3605, allocations: 4 kB / 498.5 MB, free: 3.426 MB / 398.1 MB Notification: Performance of Templates: time 0.03808/0.3986, allocations: 28.78 MB / 0.5149 GB, free: 6.688 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.627131939399987]