Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001156/0.001156, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001147/0.001147, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 227.4 MB / 247.5 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001699/0.001699, allocations: 59.28 kB / 308.4 MB, free: 15.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.103, allocations: 50.53 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.004749/0.1078, allocations: 3.436 MB / 362.3 MB, free: 9.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002505/0.1103, allocations: 1.656 MB / 364 MB, free: 8.246 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001755/0.1105, allocations: 4 kB / 364 MB, free: 8.242 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00264/0.1131, allocations: 2.667 MB / 366.7 MB, free: 5.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004908/0.1136, allocations: 222.5 kB / 366.9 MB, free: 5.352 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007034/0.1144, allocations: 315.2 kB / 367.2 MB, free: 5.047 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001611/0.116, allocations: 1.825 MB / 369 MB, free: 3.215 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000204/0.1162, allocations: 143.7 kB / 369.2 MB, free: 3.078 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003615/0.1166, allocations: 321 kB / 369.5 MB, free: 2.762 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003681/0.1169, allocations: 334.8 kB / 369.8 MB, free: 2.434 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.688e-05/0.117, allocations: 44 kB / 369.8 MB, free: 2.391 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001794/0.1172, allocations: 87.92 kB / 369.9 MB, free: 2.305 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000549/0.1178, allocations: 0.8453 MB / 370.8 MB, free: 1.457 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006543/0.1184, allocations: 0.9501 MB / 371.7 MB, free: 0.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1555/0.274, allocations: 2.626 MB / 374.3 MB, free: 13.66 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.274, allocations: 0 / 374.3 MB, free: 13.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.274, allocations: 0 / 374.3 MB, free: 13.66 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.842e-05/0.2741, allocations: 0 / 374.3 MB, free: 13.66 MB / 302.1 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.005015/0.2791, allocations: 2.813 MB / 377.2 MB, free: 12.1 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.2791, allocations: 9.438 kB / 377.2 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006057/0.2797, allocations: 291.7 kB / 377.5 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003261/0.283, allocations: 1.837 MB / 379.3 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.725e-05/0.2831, allocations: 60.38 kB / 379.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000185/0.2833, allocations: 48.91 kB / 379.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007967/0.2841, allocations: 393.4 kB / 379.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.2841, allocations: 0.625 kB / 379.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.653e-05/0.2842, allocations: 15.56 kB / 379.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.2842, allocations: 9.656 kB / 379.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007122/0.2849, allocations: 332.9 kB / 380.1 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004406/0.2893, allocations: 2.909 MB / 383 MB, free: 9.918 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005812/0.2899, allocations: 311.2 kB / 383.3 MB, free: 9.777 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003003/0.2902, allocations: 164.9 kB / 383.5 MB, free: 9.707 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.723e-05/0.2903, allocations: 4.5 kB / 383.5 MB, free: 9.707 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.2903, allocations: 41.3 kB / 383.6 MB, free: 9.664 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 1.684e-06/0.2903, allocations: 2.906 kB / 383.6 MB, free: 9.664 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.004786/0.2951, allocations: 2.402 MB / 386 MB, free: 8.293 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.2952, allocations: 91.08 kB / 386 MB, free: 8.195 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00728/0.3025, allocations: 5.454 MB / 391.5 MB, free: 6.516 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.156e-05/0.3026, allocations: 31.33 kB / 391.5 MB, free: 6.48 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009138/0.3035, allocations: 1.189 MB / 392.7 MB, free: 5.566 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.3036, allocations: 165.6 kB / 392.9 MB, free: 5.441 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.3038, allocations: 96.66 kB / 393 MB, free: 5.383 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.759e-05/0.3038, allocations: 327.1 kB / 393.3 MB, free: 5.07 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003937/0.3042, allocations: 136.6 kB / 393.4 MB, free: 5.023 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000334/0.3046, allocations: 223.2 kB / 393.6 MB, free: 4.895 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006198/0.3052, allocations: 382.6 kB / 394 MB, free: 4.688 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3052, allocations: 2.5 kB / 394 MB, free: 4.688 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001303/0.3065, allocations: 0.6893 MB / 394.7 MB, free: 4.367 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.3065, allocations: 3.938 kB / 394.7 MB, free: 4.367 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.3066, allocations: 3.562 kB / 394.7 MB, free: 4.367 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.3066, allocations: 3.875 kB / 394.7 MB, free: 4.367 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004846/0.3071, allocations: 122.8 kB / 394.8 MB, free: 4.363 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.3071, allocations: 4.438 kB / 394.8 MB, free: 4.363 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005494/0.3076, allocations: 17.97 kB / 394.9 MB, free: 4.355 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.116e-05/0.3077, allocations: 15.28 kB / 394.9 MB, free: 4.352 MB / 302.1 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.0009442/0.3087, allocations: 0.925 MB / 395.8 MB, free: 4.004 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002846/0.309, allocations: 274.4 kB / 396.1 MB, free: 3.852 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001418/0.3104, allocations: 0.7941 MB / 396.9 MB, free: 3.531 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.3104, allocations: 11.66 kB / 396.9 MB, free: 3.527 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3104, allocations: 3.562 kB / 396.9 MB, free: 3.527 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3104, allocations: 3.75 kB / 396.9 MB, free: 3.527 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001852/0.3123, allocations: 1.478 MB / 398.4 MB, free: 2.551 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.3123, allocations: 0 / 398.4 MB, free: 2.551 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004515/0.3128, allocations: 91.78 kB / 398.5 MB, free: 2.535 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003285/0.3131, allocations: 105.4 kB / 398.6 MB, free: 2.484 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.962e-05/0.3131, allocations: 18.33 kB / 398.6 MB, free: 2.473 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003845/0.3135, allocations: 0.6292 MB / 399.2 MB, free: 1.887 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3135, allocations: 0 / 399.2 MB, free: 1.887 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/0.3152, allocations: 1.086 MB / 400.3 MB, free: 1.215 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009052/0.3162, allocations: 489.9 kB / 400.8 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002071/0.3164, allocations: 12 kB / 400.8 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005156/0.3169, allocations: 15.98 kB / 400.8 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.589e-05/0.317, allocations: 32.39 kB / 400.8 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.64e-05/0.317, allocations: 16 kB / 400.8 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.004786/0.3218, allocations: 3.986 MB / 404.8 MB, free: 12.74 MB / 318.1 MB Notification: Performance of sort global known variables: time 6.12e-07/0.3218, allocations: 4 kB / 404.8 MB, free: 12.73 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007892/0.3226, allocations: 208 kB / 405 MB, free: 12.53 MB / 318.1 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.0009865/0.3236, allocations: 430.4 kB / 405.5 MB, free: 12.28 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007758/0.3244, allocations: 377.7 kB / 405.8 MB, free: 11.92 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.3244, allocations: 0 / 405.8 MB, free: 11.92 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004691/0.3249, allocations: 207.2 kB / 406 MB, free: 11.73 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/0.3261, allocations: 198.8 kB / 406.2 MB, free: 11.53 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007066/0.3332, allocations: 5.41 MB / 411.6 MB, free: 6.098 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001709/0.3349, allocations: 1.825 MB / 413.5 MB, free: 4.238 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000609/0.3355, allocations: 279.8 kB / 413.7 MB, free: 3.961 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002676/0.3358, allocations: 91.44 kB / 413.8 MB, free: 3.871 MB / 318.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3358, allocations: 0 / 413.8 MB, free: 3.871 MB / 318.1 MB Notification: Performance of Templates: time 0.02865/0.3645, allocations: 15.34 MB / 429.2 MB, free: 4.605 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches