Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001278/0.001278, allocations: 174.2 kB / 17.36 MB, free: 4.445 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.285/1.285, allocations: 205.6 MB / 223.7 MB, free: 8.93 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.0007465/0.0007465, allocations: 94.36 kB / 272.1 MB, free: 8.117 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002276/0.0002277, allocations: 4 kB / 329 MB, free: 15.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2335, allocations: 47.58 MB / 376.6 MB, free: 45.56 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.003352/0.2369, allocations: 3.729 MB / 380.3 MB, free: 42.63 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002385/0.2393, allocations: 1.668 MB / 382 MB, free: 41.24 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004195/0.2398, allocations: 7.5 kB / 382 MB, free: 41.24 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003224/0.2401, allocations: 96.77 kB / 382.1 MB, free: 41.16 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007554/0.2409, allocations: 306.5 kB / 382.4 MB, free: 40.91 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003524/0.2412, allocations: 196.3 kB / 382.6 MB, free: 40.74 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009211/0.2422, allocations: 0.9206 MB / 383.5 MB, free: 40.2 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003073/0.2425, allocations: 212.5 kB / 383.7 MB, free: 40.08 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004796/0.243, allocations: 315 kB / 384 MB, free: 39.91 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004992/0.2435, allocations: 366.3 kB / 384.4 MB, free: 39.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001137/0.2436, allocations: 46.84 kB / 384.4 MB, free: 39.66 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003775/0.244, allocations: 158 kB / 384.6 MB, free: 39.6 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.2441, allocations: 143.4 kB / 384.7 MB, free: 39.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003059/0.2444, allocations: 387.8 kB / 385.1 MB, free: 39.2 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007563/0.2452, allocations: 1.082 MB / 386.2 MB, free: 38.36 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2452, allocations: 4.969 kB / 386.2 MB, free: 38.36 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2452, allocations: 4 kB / 386.2 MB, free: 38.36 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.2452, allocations: 0 / 386.2 MB, free: 38.36 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.001865/0.2471, allocations: 0.9685 MB / 387.2 MB, free: 37.61 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.2471, allocations: 9.875 kB / 387.2 MB, free: 37.61 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.2473, allocations: 84.06 kB / 387.3 MB, free: 37.57 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005463/0.2478, allocations: 0.5112 MB / 387.8 MB, free: 37.11 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.456e-05/0.2479, allocations: 77.61 kB / 387.9 MB, free: 37.06 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001797/0.2481, allocations: 67.42 kB / 387.9 MB, free: 37.03 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008736/0.249, allocations: 0.6059 MB / 388.5 MB, free: 36.4 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.249, allocations: 0 / 388.5 MB, free: 36.4 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.612e-05/0.249, allocations: 24 kB / 388.5 MB, free: 36.38 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.739e-06/0.2491, allocations: 16 kB / 388.6 MB, free: 36.36 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009173/0.25, allocations: 0.536 MB / 389.1 MB, free: 35.82 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002558/0.2526, allocations: 2.326 MB / 391.4 MB, free: 33.39 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007882/0.2534, allocations: 492.1 kB / 391.9 MB, free: 32.89 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004379/0.2538, allocations: 270.1 kB / 392.2 MB, free: 32.62 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.2538, allocations: 4 kB / 392.2 MB, free: 32.62 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.2539, allocations: 42.5 kB / 392.2 MB, free: 32.57 MB / 298.7 MB Notification: Performance of pre-optimization done (n=45): time 1.703e-06/0.2539, allocations: 0 / 392.2 MB, free: 32.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=61): time 0.0115/0.2654, allocations: 3.696 MB / 395.9 MB, free: 28.77 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.2654, allocations: 85.61 kB / 396 MB, free: 28.67 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005478/0.266, allocations: 0.5331 MB / 396.5 MB, free: 28.13 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.798e-05/0.266, allocations: 33.7 kB / 396.6 MB, free: 28.09 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.2662, allocations: 312.3 kB / 396.9 MB, free: 27.78 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.2663, allocations: 208.9 kB / 397.1 MB, free: 27.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/0.2663, allocations: 16 kB / 397.1 MB, free: 27.55 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.819e-05/0.2664, allocations: 366.8 kB / 397.4 MB, free: 27.19 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004701/0.2669, allocations: 249.2 kB / 397.7 MB, free: 26.95 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005248/0.2674, allocations: 360.4 kB / 398 MB, free: 26.56 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009471/0.2684, allocations: 0.6176 MB / 398.7 MB, free: 25.91 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2684, allocations: 3.938 kB / 398.7 MB, free: 25.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001267/0.2697, allocations: 0.7647 MB / 399.4 MB, free: 25.13 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.2697, allocations: 14.75 kB / 399.4 MB, free: 25.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.2697, allocations: 0 / 399.4 MB, free: 25.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001566/0.2699, allocations: 32.84 kB / 399.5 MB, free: 25.08 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007398/0.2706, allocations: 171.8 kB / 399.6 MB, free: 24.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000769/0.2714, allocations: 1.337 MB / 401 MB, free: 23.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005441/0.272, allocations: 44.05 kB / 401 MB, free: 23.4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.975e-05/0.272, allocations: 27.98 kB / 401 MB, free: 23.38 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * Array equations: 0 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002529/0.2723, allocations: 205.6 kB / 401.2 MB, free: 23.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.2724, allocations: 59.34 kB / 401.3 MB, free: 23.11 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001575/0.274, allocations: 0.8646 MB / 402.2 MB, free: 22.23 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.274, allocations: 4 kB / 402.2 MB, free: 22.22 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.274, allocations: 4 kB / 402.2 MB, free: 22.22 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.274, allocations: 7.984 kB / 402.2 MB, free: 22.21 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003197/0.2772, allocations: 1.882 MB / 404.1 MB, free: 20.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.2772, allocations: 0 / 404.1 MB, free: 20.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004819/0.2777, allocations: 111.9 kB / 404.2 MB, free: 20.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002209/0.2799, allocations: 0.5003 MB / 404.7 MB, free: 19.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.65e-05/0.28, allocations: 15.98 kB / 404.7 MB, free: 19.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003923/0.2839, allocations: 2.94 MB / 407.6 MB, free: 16.57 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.284, allocations: 8.016 kB / 407.6 MB, free: 16.56 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002473/0.2864, allocations: 1.401 MB / 409 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002709/0.2867, allocations: 212.4 kB / 409.3 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.2868, allocations: 16 kB / 409.3 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005879/0.2874, allocations: 47.97 kB / 409.3 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.2876, allocations: 44.48 kB / 409.4 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.093e-05/0.2876, allocations: 31.92 kB / 409.4 MB, free: 14.78 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003816/0.288, allocations: 382.9 kB / 409.8 MB, free: 14.41 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.288, allocations: 4 kB / 409.8 MB, free: 14.4 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006319/0.2886, allocations: 184 kB / 409.9 MB, free: 14.22 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (transformer.winding1.i,transformer.winding2.i,transformer.core.B,transformer.core.MagRel) * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 51 * Array equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002405/0.2889, allocations: 147.2 kB / 410.1 MB, free: 14.07 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001239/0.2901, allocations: 0.7522 MB / 410.8 MB, free: 13.31 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2902, allocations: 0 / 410.8 MB, free: 13.31 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007289/0.2909, allocations: 0.5295 MB / 411.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006585/0.2916, allocations: 105.8 kB / 411.5 MB, free: 12.66 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002193/0.2938, allocations: 1.858 MB / 413.3 MB, free: 10.77 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.294, allocations: 0.9046 MB / 414.2 MB, free: 9.836 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003245/0.2944, allocations: 68.81 kB / 414.3 MB, free: 9.766 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001647/0.2945, allocations: 47.41 kB / 414.3 MB, free: 9.719 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2946, allocations: 0 / 414.3 MB, free: 9.719 MB / 298.7 MB Notification: Performance of Templates: time 0.01324/0.3078, allocations: 9.567 MB / 423.9 MB, free: 204 kB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches