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.SinglePhaseTransformerWithHysteresis1.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.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009099/0.0009099, allocations: 182.1 kB / 17.36 MB, free: 4.188 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.218/1.218, 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.0007484/0.0007484, allocations: 95.7 kB / 272.1 MB, free: 8.133 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002457/0.0002459, allocations: 7.984 kB / 329 MB, free: 15.08 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1973, allocations: 47.58 MB / 376.6 MB, free: 45.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.002852/0.2002, allocations: 2.879 MB / 379.5 MB, free: 43.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001548/0.2018, allocations: 1.411 MB / 380.9 MB, free: 42.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001389/0.2019, allocations: 5.781 kB / 380.9 MB, free: 42.23 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001925/0.2039, allocations: 1.848 MB / 382.8 MB, free: 41.39 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002793/0.2042, allocations: 146.5 kB / 382.9 MB, free: 41.27 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005298/0.2047, allocations: 261.6 kB / 383.1 MB, free: 41.08 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001374/0.2061, allocations: 1.699 MB / 384.8 MB, free: 40.22 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/0.2063, allocations: 121 kB / 385 MB, free: 40.1 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002297/0.2065, allocations: 281 kB / 385.2 MB, free: 39.83 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002442/0.2068, allocations: 290.9 kB / 385.5 MB, free: 39.54 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.629e-05/0.2068, allocations: 20 kB / 385.5 MB, free: 39.52 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001299/0.207, allocations: 51.94 kB / 385.6 MB, free: 39.47 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003554/0.2073, allocations: 0.8219 MB / 386.4 MB, free: 38.65 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004269/0.2078, allocations: 0.9128 MB / 387.3 MB, free: 37.72 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001187/0.209, allocations: 2.488 MB / 389.8 MB, free: 35.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.209, allocations: 0 / 389.8 MB, free: 35.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.209, allocations: 0 / 389.8 MB, free: 35.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.406e-05/0.209, allocations: 0 / 389.8 MB, free: 35.23 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002368/0.2114, allocations: 2.411 MB / 392.2 MB, free: 32.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.2114, allocations: 8.031 kB / 392.2 MB, free: 32.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002218/0.2116, allocations: 277.4 kB / 392.5 MB, free: 32.47 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001684/0.2133, allocations: 1.824 MB / 394.3 MB, free: 30.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.901e-05/0.2134, allocations: 55.27 kB / 394.4 MB, free: 30.53 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.2136, allocations: 55.92 kB / 394.4 MB, free: 30.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005744/0.2141, allocations: 391 kB / 394.8 MB, free: 30.08 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.2142, allocations: 4 kB / 394.8 MB, free: 30.08 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.077e-05/0.2142, allocations: 16 kB / 394.8 MB, free: 30.06 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.2142, allocations: 8 kB / 394.8 MB, free: 30.05 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005828/0.2148, allocations: 335.7 kB / 395.2 MB, free: 29.73 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002863/0.2177, allocations: 2.907 MB / 398.1 MB, free: 26.72 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004961/0.2182, allocations: 317 kB / 398.4 MB, free: 26.39 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002569/0.2185, allocations: 165.5 kB / 398.6 MB, free: 26.22 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.176e-05/0.2185, allocations: 7.984 kB / 398.6 MB, free: 26.21 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.738e-05/0.2185, allocations: 47.03 kB / 398.6 MB, free: 26.16 MB / 298.7 MB Notification: Performance of pre-optimization done (n=37): time 1.362e-06/0.2185, allocations: 0 / 398.6 MB, free: 26.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=48): time 0.003659/0.2222, allocations: 2.37 MB / 401 MB, free: 23.72 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.2222, allocations: 89.53 kB / 401.1 MB, free: 23.61 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004319/0.2266, allocations: 5.403 MB / 406.5 MB, free: 18.21 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.2266, allocations: 37.7 kB / 406.5 MB, free: 18.16 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007982/0.2274, allocations: 1.211 MB / 407.7 MB, free: 16.95 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.868e-05/0.2275, allocations: 165.5 kB / 407.9 MB, free: 16.79 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.077e-05/0.2275, allocations: 12 kB / 407.9 MB, free: 16.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.708e-05/0.2276, allocations: 326 kB / 408.2 MB, free: 16.45 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002694/0.2279, allocations: 137.1 kB / 408.3 MB, free: 16.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002837/0.2282, allocations: 225.7 kB / 408.6 MB, free: 16.07 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005705/0.2287, allocations: 376.3 kB / 408.9 MB, free: 15.67 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2288, allocations: 0 / 408.9 MB, free: 15.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0008491/0.2296, allocations: 0.684 MB / 409.6 MB, free: 14.98 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.2296, allocations: 6.812 kB / 409.6 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.2296, allocations: 4 kB / 409.6 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.2297, allocations: 4 kB / 409.6 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004479/0.2301, allocations: 128 kB / 409.8 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.2301, allocations: 4 kB / 409.8 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003518/0.2305, allocations: 23.88 kB / 409.8 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.734e-05/0.2305, allocations: 27.92 kB / 409.8 MB, free: 14.79 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006921/0.2312, allocations: 0.9187 MB / 410.7 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002415/0.2315, allocations: 268.4 kB / 411 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001121/0.2326, allocations: 0.7747 MB / 411.8 MB, free: 12.81 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.2326, allocations: 4 kB / 411.8 MB, free: 12.81 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.2326, allocations: 4 kB / 411.8 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.2327, allocations: 3.984 kB / 411.8 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.2338, allocations: 1.473 MB / 413.2 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2338, allocations: 4 kB / 413.3 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003996/0.2342, allocations: 95.88 kB / 413.3 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002749/0.2345, allocations: 88.8 kB / 413.4 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.84e-05/0.2346, allocations: 8 kB / 413.4 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003971/0.235, allocations: 0.6459 MB / 414.1 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.235, allocations: 0 / 414.1 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001262/0.2362, allocations: 1.065 MB / 415.2 MB, free: 9.32 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005413/0.2368, allocations: 497.7 kB / 415.6 MB, free: 8.812 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001571/0.237, allocations: 12 kB / 415.6 MB, free: 8.801 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004249/0.2374, allocations: 23.97 kB / 415.7 MB, free: 8.777 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.136e-05/0.2375, allocations: 28.41 kB / 415.7 MB, free: 8.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-05/0.2375, allocations: 19.98 kB / 415.7 MB, free: 8.73 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.003199/0.2407, allocations: 3.938 MB / 419.7 MB, free: 4.801 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2407, allocations: 0 / 419.7 MB, free: 4.801 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005056/0.2412, allocations: 219.9 kB / 419.9 MB, free: 4.586 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (core.MagRel,winding1.i,winding2.i,core.Hstat,core.B) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * 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 {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008362/0.2421, allocations: 460.8 kB / 420.3 MB, free: 4.234 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006227/0.2427, allocations: 388.8 kB / 420.7 MB, free: 3.852 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2427, allocations: 0 / 420.7 MB, free: 3.852 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003683/0.2431, allocations: 211.4 kB / 420.9 MB, free: 3.648 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009968/0.2441, allocations: 195.2 kB / 421.1 MB, free: 3.453 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005747/0.2499, allocations: 6.155 MB / 427.3 MB, free: 13.26 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001539/0.2514, allocations: 1.822 MB / 429.1 MB, free: 11.41 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004603/0.2519, allocations: 275.7 kB / 429.3 MB, free: 11.13 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002367/0.2521, allocations: 91.42 kB / 429.4 MB, free: 11.04 MB / 314.7 MB Notification: Performance of SimCode: time 1.432e-06/0.2521, allocations: 0 / 429.4 MB, free: 11.04 MB / 314.7 MB Notification: Performance of Templates: time 0.02465/0.2768, allocations: 14.19 MB / 443.6 MB, free: 12.83 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches