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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001788/0.001788, allocations: 92.33 kB / 21.73 MB, free: 2.68 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 160.6 kB / 25.02 MB, free: 9.438 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.376/1.376, allocations: 158.6 MB / 186.8 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 178] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,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=5000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 250.4 MB, free: 3.949 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.645e-05/2.879e-05, allocations: 2.312 kB / 250.4 MB, free: 3.945 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.006647/0.006676, allocations: 3.907 MB / 254.3 MB, free: 16 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003556/0.01023, allocations: 1.548 MB / 255.8 MB, free: 14.45 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005864/0.01082, allocations: 11.94 kB / 255.8 MB, free: 14.44 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005835/0.0114, allocations: 126.8 kB / 255.9 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001372/0.01277, allocations: 377.3 kB / 256.3 MB, free: 13.95 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006365/0.01341, allocations: 235.5 kB / 256.5 MB, free: 13.71 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001788/0.0152, allocations: 1.005 MB / 257.5 MB, free: 12.7 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004238/0.01562, allocations: 150.1 kB / 257.7 MB, free: 12.55 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001116/0.01674, allocations: 0.5535 MB / 258.2 MB, free: 12 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000713/0.01745, allocations: 331.1 kB / 258.6 MB, free: 11.67 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002234/0.01767, allocations: 96 kB / 258.7 MB, free: 11.58 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005566/0.01823, allocations: 211.8 kB / 258.9 MB, free: 11.37 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000241/0.01847, allocations: 199.3 kB / 259.1 MB, free: 11.18 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005047/0.01898, allocations: 291.3 kB / 259.3 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001765/0.02074, allocations: 1.227 MB / 260.6 MB, free: 9.66 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.02074, allocations: 4 kB / 260.6 MB, free: 9.656 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.02075, allocations: 0 / 260.6 MB, free: 9.656 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.12e-05/0.02078, allocations: 0 / 260.6 MB, free: 9.656 MB / 250.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.003132/0.02391, allocations: 1.031 MB / 261.6 MB, free: 8.594 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.02395, allocations: 15.98 kB / 261.6 MB, free: 8.578 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003256/0.02428, allocations: 124.4 kB / 261.7 MB, free: 8.457 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/0.0253, allocations: 472.7 kB / 262.2 MB, free: 7.969 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001612/0.02546, allocations: 123 kB / 262.3 MB, free: 7.828 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002449/0.02571, allocations: 72.69 kB / 262.4 MB, free: 7.758 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001498/0.02721, allocations: 0.7107 MB / 263.1 MB, free: 7.004 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/0.02723, allocations: 3.938 kB / 263.1 MB, free: 7 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.777e-05/0.0273, allocations: 20 kB / 263.1 MB, free: 6.98 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/0.02731, allocations: 16 kB / 263.2 MB, free: 6.965 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/0.02865, allocations: 0.5204 MB / 263.7 MB, free: 6.445 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004225/0.03287, allocations: 2.004 MB / 265.7 MB, free: 4.359 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.03398, allocations: 451.9 kB / 266.1 MB, free: 3.902 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006101/0.03459, allocations: 246.1 kB / 266.4 MB, free: 3.656 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.632e-05/0.03462, allocations: 15.94 kB / 266.4 MB, free: 3.641 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.311e-05/0.03467, allocations: 38.56 kB / 266.4 MB, free: 3.594 MB / 250.7 MB Notification: Performance of pre-optimization done (n=45): time 1.964e-06/0.03467, allocations: 0 / 266.4 MB, free: 3.594 MB / 250.7 MB Notification: Performance of matching and sorting (n=61): time 0.01429/0.04896, allocations: 3.334 MB / 269.7 MB, free: 224 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.616e-05/0.04905, allocations: 85.61 kB / 269.8 MB, free: 120 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008545/0.0499, allocations: 0.5057 MB / 270.3 MB, free: 15.61 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.815e-05/0.04997, allocations: 37.7 kB / 270.4 MB, free: 15.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003047/0.05027, allocations: 324.8 kB / 270.7 MB, free: 15.24 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000238/0.05051, allocations: 214.1 kB / 270.9 MB, free: 15.03 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002304/0.05074, allocations: 110.3 kB / 271 MB, free: 14.92 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002397/0.05098, allocations: 366.7 kB / 271.4 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006537/0.05164, allocations: 253.2 kB / 271.6 MB, free: 14.3 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000987/0.05262, allocations: 340.5 kB / 271.9 MB, free: 13.94 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001416/0.05404, allocations: 0.611 MB / 272.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.05404, allocations: 4 kB / 272.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00186/0.0559, allocations: 0.7631 MB / 273.3 MB, free: 12.52 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.05593, allocations: 11.98 kB / 273.3 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.05593, allocations: 320 / 273.3 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003031/0.05624, allocations: 56.75 kB / 273.4 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000864/0.0571, allocations: 167.8 kB / 273.6 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001377/0.05848, allocations: 1.296 MB / 274.8 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006277/0.05911, allocations: 39.97 kB / 274.9 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.199e-05/0.05917, allocations: 23.98 kB / 274.9 MB, free: 10.82 MB / 266.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.0003429/0.05951, allocations: 209.5 kB / 275.1 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002085/0.05972, allocations: 83.69 kB / 275.2 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002109/0.06183, allocations: 0.8201 MB / 276 MB, free: 9.684 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.06184, allocations: 12 kB / 276 MB, free: 9.672 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.06184, allocations: 3.984 kB / 276 MB, free: 9.668 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.06185, allocations: 0 / 276 MB, free: 9.668 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004091/0.06594, allocations: 1.598 MB / 277.6 MB, free: 8.031 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.06594, allocations: 0 / 277.6 MB, free: 8.031 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005644/0.06651, allocations: 111.9 kB / 277.7 MB, free: 7.922 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002503/0.06901, allocations: 474.4 kB / 278.2 MB, free: 7.457 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.324e-05/0.06907, allocations: 16 kB / 278.2 MB, free: 7.441 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00605/0.07512, allocations: 2.981 MB / 281.2 MB, free: 4.367 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.07512, allocations: 3.938 kB / 281.2 MB, free: 4.363 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003528/0.07865, allocations: 1.382 MB / 282.6 MB, free: 2.961 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003854/0.07903, allocations: 123.5 kB / 282.7 MB, free: 2.84 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/0.07915, allocations: 12 kB / 282.7 MB, free: 2.828 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006806/0.07983, allocations: 48.05 kB / 282.8 MB, free: 2.781 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001685/0.08, allocations: 52.55 kB / 282.8 MB, free: 2.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.314e-05/0.08005, allocations: 16 kB / 282.8 MB, free: 2.715 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005769/0.08063, allocations: 371.1 kB / 283.2 MB, free: 2.355 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.08063, allocations: 0 / 283.2 MB, free: 2.355 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008468/0.08148, allocations: 192 kB / 283.4 MB, free: 2.168 MB / 266.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.0003429/0.08182, allocations: 147 kB / 283.5 MB, free: 2.016 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001751/0.08357, allocations: 0.7143 MB / 284.2 MB, free: 1.289 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.08358, allocations: 4.188 kB / 284.2 MB, free: 1.285 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001072/0.08465, allocations: 0.4903 MB / 284.7 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006994/0.08535, allocations: 89.86 kB / 284.8 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003529/0.08887, allocations: 1.372 MB / 286.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000435/0.08931, allocations: 303.1 kB / 286.5 MB, free: 14.96 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004019/0.08971, allocations: 72.62 kB / 286.6 MB, free: 14.89 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002373/0.08995, allocations: 52.48 kB / 286.6 MB, free: 14.84 MB / 282.7 MB Notification: Performance of SimCode: time 1.473e-06/0.08995, allocations: 3.938 kB / 286.6 MB, free: 14.84 MB / 282.7 MB Notification: Performance of Templates: time 0.01966/0.1096, allocations: 9.53 MB / 296.1 MB, free: 5.32 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile [Timeout 660] (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) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.779022038914263]