Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001067/0.001067, allocations: 187 kB / 17.92 MB, free: 3.852 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.223/1.223, allocations: 205.1 MB / 223.7 MB, free: 8.496 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008882/0.0008882, allocations: 105.6 kB / 271.2 MB, free: 8.461 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007912/0.0007913, allocations: 43.94 kB / 327.2 MB, free: 340 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2062, allocations: 46.62 MB / 373.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.005072/0.2114, allocations: 4.325 MB / 378.2 MB, free: 42.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002031/0.2134, allocations: 1.643 MB / 379.8 MB, free: 41.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002289/0.2137, allocations: 12.22 kB / 379.8 MB, free: 41.06 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002996/0.214, allocations: 92.8 kB / 379.9 MB, free: 40.99 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005791/0.2146, allocations: 307.3 kB / 380.2 MB, free: 40.74 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002917/0.2149, allocations: 202.7 kB / 380.4 MB, free: 40.56 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006188/0.2155, allocations: 0.9226 MB / 381.3 MB, free: 40.02 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002524/0.2158, allocations: 217.6 kB / 381.5 MB, free: 39.9 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000287/0.2161, allocations: 331.1 kB / 381.9 MB, free: 39.71 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003314/0.2164, allocations: 384 kB / 382.2 MB, free: 39.45 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.015e-05/0.2165, allocations: 56.81 kB / 382.3 MB, free: 39.45 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002942/0.2168, allocations: 169.7 kB / 382.5 MB, free: 39.39 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.867e-05/0.2169, allocations: 150.3 kB / 382.6 MB, free: 39.26 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002459/0.2172, allocations: 369.4 kB / 383 MB, free: 39.01 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007091/0.2179, allocations: 1.116 MB / 384.1 MB, free: 38.13 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2179, allocations: 1.469 kB / 384.1 MB, free: 38.13 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.2179, allocations: 0 / 384.1 MB, free: 38.13 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.2179, allocations: 4 kB / 384.1 MB, free: 38.13 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.001942/0.2199, allocations: 1.092 MB / 385.2 MB, free: 37.29 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.2199, allocations: 9.062 kB / 385.2 MB, free: 37.29 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001251/0.22, allocations: 75.69 kB / 385.3 MB, free: 37.25 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005336/0.2206, allocations: 0.5155 MB / 385.8 MB, free: 36.79 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.311e-05/0.2206, allocations: 69.58 kB / 385.8 MB, free: 36.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001682/0.2208, allocations: 70.77 kB / 385.9 MB, free: 36.72 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008946/0.2217, allocations: 0.6073 MB / 386.5 MB, free: 36.33 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.2218, allocations: 0 / 386.5 MB, free: 36.33 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.69e-05/0.2218, allocations: 22.22 kB / 386.5 MB, free: 36.32 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.2218, allocations: 13.19 kB / 386.5 MB, free: 36.32 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009837/0.2228, allocations: 0.5279 MB / 387.1 MB, free: 36.05 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002479/0.2253, allocations: 2.309 MB / 389.4 MB, free: 33.72 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007568/0.2261, allocations: 485.2 kB / 389.9 MB, free: 33.23 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004152/0.2265, allocations: 270.1 kB / 390.1 MB, free: 32.96 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.2265, allocations: 4 kB / 390.1 MB, free: 32.96 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.2266, allocations: 38.56 kB / 390.2 MB, free: 32.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=45): time 1.443e-06/0.2266, allocations: 0 / 390.2 MB, free: 32.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=61): time 0.01054/0.2371, allocations: 3.541 MB / 393.7 MB, free: 29.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/0.2372, allocations: 85.67 kB / 393.8 MB, free: 29.17 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004799/0.2376, allocations: 0.5409 MB / 394.3 MB, free: 28.62 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.316e-05/0.2377, allocations: 37.7 kB / 394.4 MB, free: 28.58 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.2378, allocations: 308.3 kB / 394.7 MB, free: 28.27 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.601e-05/0.2379, allocations: 212.9 kB / 394.9 MB, free: 28.06 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001544/0.2381, allocations: 114.2 kB / 395 MB, free: 27.94 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.705e-05/0.2381, allocations: 370.8 kB / 395.3 MB, free: 27.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004448/0.2386, allocations: 245.2 kB / 395.6 MB, free: 27.33 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004799/0.2391, allocations: 348.4 kB / 395.9 MB, free: 26.96 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009097/0.24, allocations: 0.6019 MB / 396.5 MB, free: 26.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.24, allocations: 0 / 396.5 MB, free: 26.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00117/0.2412, allocations: 0.7488 MB / 397.3 MB, free: 25.56 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.2412, allocations: 4 kB / 397.3 MB, free: 25.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.2412, allocations: 8.312 kB / 397.3 MB, free: 25.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001273/0.2414, allocations: 28.84 kB / 397.3 MB, free: 25.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006758/0.242, allocations: 167.8 kB / 397.5 MB, free: 25.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006395/0.2427, allocations: 1.333 MB / 398.8 MB, free: 23.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000498/0.2432, allocations: 39.97 kB / 398.9 MB, free: 23.85 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.162e-05/0.2433, allocations: 23.98 kB / 398.9 MB, free: 23.83 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.0002016/0.2435, allocations: 205.7 kB / 399.1 MB, free: 23.62 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.2436, allocations: 59.25 kB / 399.1 MB, free: 23.56 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001444/0.245, allocations: 0.8451 MB / 400 MB, free: 22.7 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.245, allocations: 11.98 kB / 400 MB, free: 22.69 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.245, allocations: 0 / 400 MB, free: 22.69 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.2451, allocations: 0 / 400 MB, free: 22.69 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002839/0.2479, allocations: 1.847 MB / 401.8 MB, free: 20.78 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.2479, allocations: 0 / 401.8 MB, free: 20.78 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004413/0.2484, allocations: 111.8 kB / 402 MB, free: 20.67 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002004/0.2504, allocations: 476.3 kB / 402.4 MB, free: 20.2 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.917e-05/0.2504, allocations: 15.98 kB / 402.4 MB, free: 20.19 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003606/0.254, allocations: 2.882 MB / 405.3 MB, free: 17.18 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2541, allocations: 4.031 kB / 405.3 MB, free: 17.18 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02475/0.2788, allocations: 11.57 MB / 416.9 MB, free: 5.305 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002193/0.2791, allocations: 208.3 kB / 417.1 MB, free: 5.082 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.278e-05/0.2792, allocations: 16 kB / 417.1 MB, free: 5.066 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000544/0.2797, allocations: 39.97 kB / 417.1 MB, free: 5.027 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/0.2799, allocations: 48.42 kB / 417.2 MB, free: 4.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-05/0.2799, allocations: 27.98 kB / 417.2 MB, free: 4.953 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003645/0.2803, allocations: 390.9 kB / 417.6 MB, free: 4.574 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.2803, allocations: 0 / 417.6 MB, free: 4.574 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008826/0.2812, allocations: 275.9 kB / 417.9 MB, free: 4.305 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.0002577/0.2814, allocations: 139.3 kB / 418 MB, free: 4.156 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001234/0.2827, allocations: 0.7363 MB / 418.7 MB, free: 3.406 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2827, allocations: 0 / 418.7 MB, free: 3.406 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007292/0.2834, allocations: 0.5293 MB / 419.3 MB, free: 2.863 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006806/0.2841, allocations: 98.27 kB / 419.4 MB, free: 2.77 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003014/0.2872, allocations: 2.405 MB / 421.8 MB, free: 320 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/0.2876, allocations: 0.9243 MB / 422.7 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003834/0.288, allocations: 84.8 kB / 422.8 MB, free: 15.27 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002145/0.2882, allocations: 59.41 kB / 422.8 MB, free: 15.21 MB / 314.7 MB Notification: Performance of SimCode: time 4.11e-07/0.2882, allocations: 3.938 kB / 422.8 MB, free: 15.21 MB / 314.7 MB Notification: Performance of Templates: time 0.01935/0.3075, allocations: 13.72 MB / 436.6 MB, free: 1.508 MB / 314.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@2/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