Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 95.92 kB / 17.3 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 174.4 kB / 18.21 MB, free: 5.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.728/1.728, allocations: 205.4 MB / 224.4 MB, free: 13.08 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006591/0.0006587, allocations: 16 kB / 281.4 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1742, allocations: 47.59 MB / 329 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.00837/0.1826, allocations: 5.454 MB / 334.4 MB, free: 14.27 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007058/0.1898, allocations: 1.621 MB / 336 MB, free: 12.64 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002624/0.1926, allocations: 39.81 kB / 336.1 MB, free: 12.61 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001604/0.1942, allocations: 246.3 kB / 336.3 MB, free: 12.36 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00368/0.1979, allocations: 314.3 kB / 336.6 MB, free: 12.05 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00169/0.1997, allocations: 307.7 kB / 336.9 MB, free: 11.75 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003928/0.2036, allocations: 2.13 MB / 339.1 MB, free: 9.613 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003998/0.2077, allocations: 2.213 MB / 341.3 MB, free: 7.34 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00185/0.2095, allocations: 0.7196 MB / 342 MB, free: 6.617 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002651/0.2122, allocations: 0.9175 MB / 342.9 MB, free: 5.695 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004757/0.2127, allocations: 124 kB / 343 MB, free: 5.574 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.2139, allocations: 303.6 kB / 343.3 MB, free: 5.277 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007194/0.2146, allocations: 0.4982 MB / 343.8 MB, free: 4.777 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002315/0.2169, allocations: 1.024 MB / 344.8 MB, free: 3.742 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006499/0.2235, allocations: 3.531 MB / 348.4 MB, free: 204 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.878e-06/0.2235, allocations: 0 / 348.4 MB, free: 204 kB / 286.1 MB Notification: Performance of FrontEnd: time 7.804e-06/0.2235, allocations: 3.984 kB / 348.4 MB, free: 200 kB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001881/0.2237, allocations: 0 / 348.4 MB, free: 200 kB / 286.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.006847/0.2306, allocations: 2.072 MB / 350.4 MB, free: 14.06 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.343e-05/0.2307, allocations: 8.031 kB / 350.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001235/0.2319, allocations: 238.2 kB / 350.7 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00317/0.2351, allocations: 1.178 MB / 351.9 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001842/0.2353, allocations: 172.9 kB / 352 MB, free: 12.42 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006368/0.236, allocations: 220.1 kB / 352.2 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008122/0.2441, allocations: 2.557 MB / 354.8 MB, free: 9.598 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.823e-05/0.2443, allocations: 0 / 354.8 MB, free: 9.598 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002485/0.2445, allocations: 95.94 kB / 354.9 MB, free: 9.504 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001241/0.2447, allocations: 56 kB / 355 MB, free: 9.449 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005567/0.2502, allocations: 2.141 MB / 357.1 MB, free: 7.293 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01842/0.2687, allocations: 7.646 MB / 364.7 MB, free: 15.43 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001645/0.2704, allocations: 1.263 MB / 366 MB, free: 14.03 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001134/0.2716, allocations: 0.6257 MB / 366.6 MB, free: 13.4 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.186e-05/0.2717, allocations: 8.562 kB / 366.6 MB, free: 13.39 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.709e-05/0.2717, allocations: 39.12 kB / 366.7 MB, free: 13.34 MB / 318.1 MB Notification: Performance of pre-optimization done (n=63): time 5.641e-06/0.2717, allocations: 0 / 366.7 MB, free: 13.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=65): time 0.005449/0.2772, allocations: 2.47 MB / 369.1 MB, free: 10.81 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.223e-05/0.2773, allocations: 59.97 kB / 369.2 MB, free: 10.74 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001445/0.2788, allocations: 0.7971 MB / 370 MB, free: 9.938 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.131e-05/0.2789, allocations: 33.7 kB / 370 MB, free: 9.898 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007838/0.2796, allocations: 0.9138 MB / 371 MB, free: 8.969 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000219/0.2799, allocations: 228.7 kB / 371.2 MB, free: 8.742 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.28, allocations: 65.69 kB / 371.2 MB, free: 8.672 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002533/0.2803, allocations: 394.7 kB / 371.6 MB, free: 8.277 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000654/0.2809, allocations: 369.8 kB / 372 MB, free: 7.914 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008286/0.2818, allocations: 0.5867 MB / 372.6 MB, free: 7.234 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001639/0.2834, allocations: 1.005 MB / 373.6 MB, free: 6.129 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/0.2834, allocations: 4 kB / 373.6 MB, free: 6.125 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002467/0.2859, allocations: 1.167 MB / 374.7 MB, free: 4.953 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.081e-05/0.286, allocations: 11.94 kB / 374.8 MB, free: 4.941 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.112e-05/0.286, allocations: 4 kB / 374.8 MB, free: 4.938 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003706/0.2864, allocations: 108.7 kB / 374.9 MB, free: 4.828 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007517/0.2871, allocations: 183.8 kB / 375 MB, free: 4.648 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002695/0.2899, allocations: 2.131 MB / 377.2 MB, free: 2.383 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000839/0.2907, allocations: 43.97 kB / 377.2 MB, free: 2.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.564e-05/0.2908, allocations: 31.98 kB / 377.3 MB, free: 2.309 MB / 318.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.001893/0.2927, allocations: 0.6574 MB / 377.9 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003512/0.2931, allocations: 79.06 kB / 378 MB, free: 1.562 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003009/0.2934, allocations: 95.56 kB / 378.1 MB, free: 1.465 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.66e-05/0.2934, allocations: 11.94 kB / 378.1 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-05/0.2935, allocations: 7.984 kB / 378.1 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.2935, allocations: 3.984 kB / 378.1 MB, free: 1.441 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3236/0.6171, allocations: 2.681 MB / 380.8 MB, free: 49.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/0.6171, allocations: 2.75 kB / 380.8 MB, free: 49.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005529/0.6177, allocations: 112.7 kB / 380.9 MB, free: 49.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003736/0.6181, allocations: 98.06 kB / 381 MB, free: 49.93 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.128e-05/0.6181, allocations: 18.19 kB / 381 MB, free: 49.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002572/0.6207, allocations: 2.074 MB / 383.1 MB, free: 48.61 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.6207, allocations: 4.969 kB / 383.1 MB, free: 48.61 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002789/0.6235, allocations: 1.443 MB / 384.5 MB, free: 48.26 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005321/0.6241, allocations: 224.1 kB / 384.8 MB, free: 48.14 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.657e-05/0.6242, allocations: 18.78 kB / 384.8 MB, free: 48.13 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004497/0.6246, allocations: 47.02 kB / 384.8 MB, free: 48.12 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001919/0.6249, allocations: 51.38 kB / 384.9 MB, free: 48.11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.406e-05/0.6249, allocations: 22.89 kB / 384.9 MB, free: 48.11 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001173/0.6261, allocations: 0.5595 MB / 385.4 MB, free: 47.88 MB / 318.1 MB Notification: Performance of sort global known variables: time 5.81e-07/0.6261, allocations: 0 / 385.4 MB, free: 47.88 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001773/0.6279, allocations: 302.3 kB / 385.7 MB, free: 47.86 MB / 318.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.0003518/0.6282, allocations: 129.6 kB / 385.9 MB, free: 47.75 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002672/0.6309, allocations: 1.018 MB / 386.9 MB, free: 47.35 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.631, allocations: 0 / 386.9 MB, free: 47.35 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001264/0.6322, allocations: 0.5683 MB / 387.5 MB, free: 47.09 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001865/0.6341, allocations: 208.8 kB / 387.7 MB, free: 47.04 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00828/0.6424, allocations: 4.202 MB / 391.9 MB, free: 44.56 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002247/0.6447, allocations: 1.726 MB / 393.6 MB, free: 43.64 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0009836/0.6457, allocations: 211.6 kB / 393.8 MB, free: 43.61 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002002/0.6459, allocations: 58.75 kB / 393.9 MB, free: 43.61 MB / 318.1 MB Notification: Performance of SimCode: time 1.924e-06/0.646, allocations: 0 / 393.9 MB, free: 43.61 MB / 318.1 MB Notification: Performance of Templates: time 0.02637/0.6723, allocations: 11.58 MB / 405.4 MB, free: 36.65 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TestSensors/TestSensors.csv","../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches