Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001349/0.001349, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001542/0.001542, allocations: 213.1 kB / 24.5 MB, free: 4.148 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.483/1.483, allocations: 230.5 MB / 258.1 MB, free: 8.023 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.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002163/0.002163, allocations: 67.88 kB / 379 MB, free: 2.508 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2426, allocations: 53.4 MB / 432.4 MB, free: 6.789 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.008713/0.2513, allocations: 6.097 MB / 438.5 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003918/0.2553, allocations: 1.709 MB / 440.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001057/0.2563, allocations: 59.69 kB / 440.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008267/0.2571, allocations: 325.4 kB / 440.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001928/0.2591, allocations: 397.4 kB / 441 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009759/0.26, allocations: 363.5 kB / 441.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002756/0.2628, allocations: 2.021 MB / 443.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002522/0.2653, allocations: 1.607 MB / 445 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001655/0.267, allocations: 1.079 MB / 446.1 MB, free: 9.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001995/0.269, allocations: 1.222 MB / 447.3 MB, free: 7.816 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005079/0.2695, allocations: 316 kB / 447.6 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009839/0.2705, allocations: 0.5113 MB / 448.1 MB, free: 6.996 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007318/0.2712, allocations: 0.7363 MB / 448.8 MB, free: 6.258 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001617/0.2728, allocations: 1.268 MB / 450.1 MB, free: 4.984 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004669/0.2775, allocations: 3.824 MB / 453.9 MB, free: 1.152 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2775, allocations: 0 / 453.9 MB, free: 1.152 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2775, allocations: 0 / 453.9 MB, free: 1.152 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001009/0.2776, allocations: 0 / 453.9 MB, free: 1.152 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.005719/0.2833, allocations: 2.458 MB / 456.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.2833, allocations: 8.031 kB / 456.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000889/0.2842, allocations: 279.4 kB / 456.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002549/0.2868, allocations: 1.27 MB / 457.9 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/0.2869, allocations: 172.9 kB / 458.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003348/0.2873, allocations: 220.1 kB / 458.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004752/0.292, allocations: 2.554 MB / 460.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.134e-05/0.292, allocations: 0 / 460.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001942/0.2922, allocations: 99.88 kB / 461 MB, free: 9.973 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001123/0.2924, allocations: 84.53 kB / 461.1 MB, free: 9.887 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00396/0.2963, allocations: 2.145 MB / 463.2 MB, free: 7.727 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01316/0.3095, allocations: 7.544 MB / 470.8 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/0.3106, allocations: 0.698 MB / 471.5 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001104/0.3117, allocations: 0.5907 MB / 472 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.322e-05/0.3118, allocations: 8.438 kB / 472 MB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.459e-05/0.3118, allocations: 43 kB / 472.1 MB, free: 14.56 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 3.867e-06/0.3118, allocations: 0 / 472.1 MB, free: 14.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=65): time 0.004557/0.3164, allocations: 2.383 MB / 474.5 MB, free: 12.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.3164, allocations: 60.06 kB / 474.5 MB, free: 12.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.3176, allocations: 0.8051 MB / 475.3 MB, free: 11.26 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.796e-05/0.3176, allocations: 37.7 kB / 475.4 MB, free: 11.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007188/0.3184, allocations: 0.948 MB / 476.3 MB, free: 10.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002098/0.3186, allocations: 237.9 kB / 476.6 MB, free: 10.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002263/0.3188, allocations: 150.6 kB / 476.7 MB, free: 9.867 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000217/0.319, allocations: 394.7 kB / 477.1 MB, free: 9.473 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006015/0.3196, allocations: 365.8 kB / 477.4 MB, free: 9.113 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007901/0.3204, allocations: 0.579 MB / 478 MB, free: 8.441 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/0.3218, allocations: 0.9872 MB / 479 MB, free: 7.355 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.3218, allocations: 4 kB / 479 MB, free: 7.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002268/0.3241, allocations: 1.157 MB / 480.2 MB, free: 6.184 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.3241, allocations: 8 kB / 480.2 MB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/0.3241, allocations: 4 kB / 480.2 MB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003382/0.3245, allocations: 117.1 kB / 480.3 MB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007119/0.3252, allocations: 171.7 kB / 480.5 MB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002478/0.3277, allocations: 2.218 MB / 482.7 MB, free: 3.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006227/0.3283, allocations: 39.97 kB / 482.7 MB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.271e-05/0.3284, allocations: 32 kB / 482.8 MB, free: 3.488 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.001137/0.3295, allocations: 0.6536 MB / 483.4 MB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002226/0.3297, allocations: 91.38 kB / 483.5 MB, free: 2.734 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002285/0.3299, allocations: 99.67 kB / 483.6 MB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-05/0.33, allocations: 8 kB / 483.6 MB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/0.33, allocations: 4 kB / 483.6 MB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.33, allocations: 3.984 kB / 483.6 MB, free: 2.613 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004778/0.3348, allocations: 2.641 MB / 486.3 MB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.3348, allocations: 4.25 kB / 486.3 MB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004906/0.3353, allocations: 107.8 kB / 486.4 MB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002588/0.3355, allocations: 104.8 kB / 486.5 MB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.498e-05/0.3356, allocations: 19.98 kB / 486.5 MB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002355/0.3379, allocations: 2.156 MB / 488.6 MB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.3379, allocations: 0 / 488.6 MB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002407/0.3403, allocations: 1.423 MB / 490.1 MB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005029/0.3408, allocations: 155.4 kB / 490.2 MB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.341, allocations: 27.94 kB / 490.2 MB, free: 11.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004323/0.3414, allocations: 39.95 kB / 490.3 MB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/0.3415, allocations: 48.41 kB / 490.3 MB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.776e-05/0.3416, allocations: 20 kB / 490.3 MB, free: 11.65 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008427/0.3424, allocations: 0.5654 MB / 490.9 MB, free: 11.09 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3424, allocations: 0 / 490.9 MB, free: 11.09 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001147/0.3436, allocations: 303.9 kB / 491.2 MB, free: 10.79 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.0002866/0.3439, allocations: 134.6 kB / 491.3 MB, free: 10.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001817/0.3457, allocations: 0.9711 MB / 492.3 MB, free: 9.676 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.3457, allocations: 0 / 492.3 MB, free: 9.676 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009041/0.3466, allocations: 0.5382 MB / 492.8 MB, free: 9.125 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.3477, allocations: 230.8 kB / 493.1 MB, free: 8.902 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005817/0.3535, allocations: 3.288 MB / 496.4 MB, free: 5.566 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00155/0.3551, allocations: 1.684 MB / 498 MB, free: 3.848 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003051/0.3554, allocations: 67.42 kB / 498.1 MB, free: 3.781 MB / 398.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3554, allocations: 0 / 498.1 MB, free: 3.781 MB / 398.1 MB Notification: Performance of Templates: time 0.0427/0.3981, allocations: 28.84 MB / 0.5146 GB, free: 6.969 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.159806301118806]