Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001065/0.001065, allocations: 178.8 kB / 17.36 MB, free: 4.168 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.392/1.392, allocations: 205.6 MB / 223.7 MB, free: 8.949 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007957/0.0007955, allocations: 90.94 kB / 272.1 MB, free: 8.125 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000255/0.0002554, allocations: 4 kB / 329 MB, free: 15.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2315, allocations: 47.59 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.005349/0.2369, allocations: 5.151 MB / 381.8 MB, free: 41.55 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003803/0.2408, allocations: 1.899 MB / 383.7 MB, free: 39.86 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001286/0.2421, allocations: 38.47 kB / 383.7 MB, free: 39.85 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005414/0.2426, allocations: 244.1 kB / 383.9 MB, free: 39.65 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001169/0.2438, allocations: 307.8 kB / 384.2 MB, free: 39.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005875/0.2444, allocations: 308 kB / 384.5 MB, free: 39.15 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001846/0.2463, allocations: 2.122 MB / 386.7 MB, free: 37.92 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002079/0.2484, allocations: 2.224 MB / 388.9 MB, free: 36.07 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000784/0.2492, allocations: 0.7352 MB / 389.6 MB, free: 35.33 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000794/0.25, allocations: 0.9097 MB / 390.5 MB, free: 34.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001521/0.2501, allocations: 128 kB / 390.6 MB, free: 34.29 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004559/0.2506, allocations: 287.6 kB / 390.9 MB, free: 34.01 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002882/0.2509, allocations: 0.5021 MB / 391.4 MB, free: 33.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006639/0.2516, allocations: 1.016 MB / 392.4 MB, free: 32.48 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001931/0.2535, allocations: 3.548 MB / 396 MB, free: 28.92 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.2535, allocations: 4 kB / 396 MB, free: 28.91 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.956e-06/0.2535, allocations: 0 / 396 MB, free: 28.91 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.195e-05/0.2536, allocations: 0 / 396 MB, free: 28.91 MB / 298.7 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.002916/0.2565, allocations: 2.06 MB / 398.1 MB, free: 26.79 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.2566, allocations: 8.031 kB / 398.1 MB, free: 26.79 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004072/0.257, allocations: 242.2 kB / 398.3 MB, free: 26.55 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/0.2583, allocations: 1.181 MB / 399.5 MB, free: 25.32 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.874e-05/0.2584, allocations: 168.9 kB / 399.7 MB, free: 25.15 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002215/0.2586, allocations: 220.1 kB / 399.9 MB, free: 24.93 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003314/0.2619, allocations: 2.53 MB / 402.4 MB, free: 22.35 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.228e-05/0.262, allocations: 0 / 402.4 MB, free: 22.35 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001532/0.2621, allocations: 95.94 kB / 402.5 MB, free: 22.26 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.093e-05/0.2622, allocations: 60 kB / 402.5 MB, free: 22.2 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002974/0.2652, allocations: 2.134 MB / 404.7 MB, free: 20.05 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008675/0.2738, allocations: 7.639 MB / 412.3 MB, free: 12.19 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008433/0.2747, allocations: 1.255 MB / 413.6 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008188/0.2756, allocations: 0.6224 MB / 414.2 MB, free: 10.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.525e-05/0.2756, allocations: 8.562 kB / 414.2 MB, free: 10.17 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.2756, allocations: 43.12 kB / 414.2 MB, free: 10.12 MB / 298.7 MB Notification: Performance of pre-optimization done (n=63): time 2.144e-06/0.2756, allocations: 3.938 kB / 414.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=65): time 0.003335/0.279, allocations: 2.47 MB / 416.7 MB, free: 7.582 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.279, allocations: 55.97 kB / 416.8 MB, free: 7.516 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007746/0.2798, allocations: 0.7893 MB / 417.6 MB, free: 6.719 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/0.2798, allocations: 37.7 kB / 417.6 MB, free: 6.676 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000334/0.2802, allocations: 0.9137 MB / 418.5 MB, free: 5.746 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.2803, allocations: 228.7 kB / 418.7 MB, free: 5.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.053e-05/0.2803, allocations: 12 kB / 418.8 MB, free: 5.508 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.104e-05/0.2804, allocations: 394.7 kB / 419.1 MB, free: 5.113 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004362/0.2809, allocations: 369.8 kB / 419.5 MB, free: 4.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005141/0.2814, allocations: 0.5868 MB / 420.1 MB, free: 4.07 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009975/0.2824, allocations: 0.9893 MB / 421.1 MB, free: 2.984 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2824, allocations: 0 / 421.1 MB, free: 2.984 MB / 298.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001429/0.2839, allocations: 1.155 MB / 422.2 MB, free: 1.82 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.2839, allocations: 16.22 kB / 422.2 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.2839, allocations: 8 kB / 422.3 MB, free: 1.797 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002557/0.2842, allocations: 112.7 kB / 422.4 MB, free: 1.684 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005952/0.2848, allocations: 171.8 kB / 422.5 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00197/0.2867, allocations: 2.138 MB / 424.7 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000522/0.2873, allocations: 43.97 kB / 424.7 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.596e-05/0.2874, allocations: 35.98 kB / 424.7 MB, free: 15.16 MB / 314.7 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.001295/0.2887, allocations: 0.6501 MB / 425.4 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001572/0.2888, allocations: 75.06 kB / 425.5 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001866/0.289, allocations: 103.6 kB / 425.6 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.062e-05/0.2891, allocations: 15.94 kB / 425.6 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.527e-05/0.2891, allocations: 3.984 kB / 425.6 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.2891, allocations: 0 / 425.6 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004099/0.2932, allocations: 2.685 MB / 428.3 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.2932, allocations: 0 / 428.3 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004616/0.2937, allocations: 115.8 kB / 428.4 MB, free: 11.42 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002295/0.2939, allocations: 96.77 kB / 428.5 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.251e-05/0.294, allocations: 19.98 kB / 428.5 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001931/0.2959, allocations: 2.084 MB / 430.6 MB, free: 9.09 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.2959, allocations: 0 / 430.6 MB, free: 9.09 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002048/0.298, allocations: 1.435 MB / 432 MB, free: 7.621 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003528/0.2984, allocations: 224 kB / 432.2 MB, free: 7.383 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.898e-05/0.2985, allocations: 16.28 kB / 432.3 MB, free: 7.367 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003957/0.2989, allocations: 48.02 kB / 432.3 MB, free: 7.32 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/0.299, allocations: 48.48 kB / 432.4 MB, free: 7.273 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-05/0.2991, allocations: 23.88 kB / 432.4 MB, free: 7.25 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007498/0.2998, allocations: 0.5536 MB / 432.9 MB, free: 6.703 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2998, allocations: 0 / 432.9 MB, free: 6.703 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001069/0.3009, allocations: 300 kB / 433.2 MB, free: 6.41 MB / 314.7 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.0002641/0.3012, allocations: 155 kB / 433.4 MB, free: 6.246 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001627/0.3028, allocations: 1.002 MB / 434.4 MB, free: 5.227 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.3028, allocations: 1.688 kB / 434.4 MB, free: 5.227 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008599/0.3037, allocations: 0.5644 MB / 434.9 MB, free: 4.652 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.3049, allocations: 210.8 kB / 435.1 MB, free: 4.441 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005699/0.3106, allocations: 4.203 MB / 439.3 MB, free: 196 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001331/0.3119, allocations: 1.725 MB / 441.1 MB, free: 14.44 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006858/0.3126, allocations: 199.1 kB / 441.3 MB, free: 14.24 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/0.3128, allocations: 59.44 kB / 441.3 MB, free: 14.18 MB / 330.7 MB Notification: Performance of SimCode: time 9.92e-07/0.3128, allocations: 0 / 441.3 MB, free: 14.18 MB / 330.7 MB Notification: Performance of Templates: time 0.022/0.3348, allocations: 11.58 MB / 452.9 MB, free: 2.672 MB / 330.7 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