Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001974/0.001974, allocations: 100 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 184.9 kB / 24.45 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 225.7 MB / 253.3 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 47.92 kB / 371.6 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.2771, allocations: 52.18 MB / 423.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.006365/0.2835, allocations: 3.96 MB / 427.8 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003271/0.2867, allocations: 1.5 MB / 429.3 MB, free: 8.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002988/0.287, allocations: 11.94 kB / 429.3 MB, free: 8.969 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004252/0.2874, allocations: 130.5 kB / 429.4 MB, free: 8.844 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007991/0.2882, allocations: 365.6 kB / 429.8 MB, free: 8.484 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004277/0.2887, allocations: 235.6 kB / 430 MB, free: 8.254 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009975/0.2897, allocations: 0.9785 MB / 431 MB, free: 7.273 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002793/0.29, allocations: 154.1 kB / 431.1 MB, free: 7.117 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004629/0.2904, allocations: 378.8 kB / 431.5 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005243/0.2909, allocations: 386.2 kB / 431.9 MB, free: 6.367 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001334/0.2911, allocations: 96 kB / 432 MB, free: 6.273 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003645/0.2914, allocations: 207.9 kB / 432.2 MB, free: 6.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001791/0.2916, allocations: 199.3 kB / 432.4 MB, free: 5.875 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003417/0.292, allocations: 342.5 kB / 432.7 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001282/0.2932, allocations: 1.174 MB / 433.9 MB, free: 4.363 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.2932, allocations: 0 / 433.9 MB, free: 4.363 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2932, allocations: 0 / 433.9 MB, free: 4.363 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.2933, allocations: 0 / 433.9 MB, free: 4.363 MB / 334.1 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.002435/0.2957, allocations: 1.046 MB / 434.9 MB, free: 3.285 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.2957, allocations: 8.031 kB / 434.9 MB, free: 3.277 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001558/0.2959, allocations: 84.42 kB / 435 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008841/0.2968, allocations: 457.5 kB / 435.5 MB, free: 2.719 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000133/0.2969, allocations: 127 kB / 435.6 MB, free: 2.578 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002055/0.2971, allocations: 68.42 kB / 435.7 MB, free: 2.512 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.2983, allocations: 0.7063 MB / 436.4 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.2984, allocations: 0 / 436.4 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.668e-05/0.2984, allocations: 24 kB / 436.4 MB, free: 1.738 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.54e-05/0.2984, allocations: 19.94 kB / 436.4 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001184/0.2996, allocations: 0.5204 MB / 436.9 MB, free: 1.195 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00358/0.3032, allocations: 1.975 MB / 438.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.3043, allocations: 459.4 kB / 439.4 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005838/0.3048, allocations: 247.2 kB / 439.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.108e-05/0.3049, allocations: 4 kB / 439.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.3049, allocations: 42.5 kB / 439.6 MB, free: 14.37 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 2.234e-06/0.3049, allocations: 0 / 439.6 MB, free: 14.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.0135/0.3184, allocations: 3.321 MB / 443 MB, free: 11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.633e-05/0.3185, allocations: 89.55 kB / 443.1 MB, free: 10.9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007486/0.3192, allocations: 0.5134 MB / 443.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.031e-05/0.3193, allocations: 37.7 kB / 443.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002606/0.3196, allocations: 320.8 kB / 443.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001938/0.3197, allocations: 222.1 kB / 444.1 MB, free: 9.797 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000209/0.32, allocations: 114.3 kB / 444.2 MB, free: 9.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001918/0.3202, allocations: 362.8 kB / 444.6 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006083/0.3208, allocations: 249.2 kB / 444.8 MB, free: 9.074 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006726/0.3214, allocations: 348.5 kB / 445.2 MB, free: 8.703 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/0.3227, allocations: 0.5993 MB / 445.8 MB, free: 8.074 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3227, allocations: 0 / 445.8 MB, free: 8.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001647/0.3244, allocations: 0.7358 MB / 446.5 MB, free: 7.328 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.3244, allocations: 11.94 kB / 446.5 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.3244, allocations: 12.28 kB / 446.5 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000182/0.3246, allocations: 44.77 kB / 446.6 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008208/0.3254, allocations: 163.8 kB / 446.7 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001267/0.3267, allocations: 1.302 MB / 448 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005821/0.3273, allocations: 31.98 kB / 448.1 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.248e-05/0.3273, allocations: 27.98 kB / 448.1 MB, free: 5.633 MB / 350.1 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.0003179/0.3276, allocations: 205.6 kB / 448.3 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/0.3278, allocations: 59.66 kB / 448.4 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001944/0.3297, allocations: 0.8434 MB / 449.2 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.3297, allocations: 4 kB / 449.2 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.3297, allocations: 4 kB / 449.2 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.3297, allocations: 7.922 kB / 449.2 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003779/0.3335, allocations: 1.59 MB / 450.8 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.3335, allocations: 144 / 450.8 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005392/0.3341, allocations: 107.9 kB / 450.9 MB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002414/0.3365, allocations: 472.3 kB / 451.4 MB, free: 2.285 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.077e-05/0.3365, allocations: 19.98 kB / 451.4 MB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005387/0.3419, allocations: 2.961 MB / 454.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.3419, allocations: 3.984 kB / 454.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003107/0.345, allocations: 1.362 MB / 455.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003482/0.3454, allocations: 135.5 kB / 455.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.819e-05/0.3455, allocations: 16 kB / 455.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005951/0.3461, allocations: 35.97 kB / 455.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/0.3462, allocations: 60.42 kB / 456 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.533e-05/0.3463, allocations: 20 kB / 456 MB, free: 13.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004892/0.3467, allocations: 367.1 kB / 456.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3467, allocations: 0 / 456.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007622/0.3475, allocations: 188.1 kB / 456.5 MB, free: 13.03 MB / 366.1 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.0003219/0.3478, allocations: 155 kB / 456.7 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001612/0.3494, allocations: 0.7148 MB / 457.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3494, allocations: 0 / 457.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009569/0.3504, allocations: 0.4989 MB / 457.9 MB, free: 11.63 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006426/0.351, allocations: 73.94 kB / 458 MB, free: 11.56 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003017/0.3541, allocations: 1.509 MB / 459.5 MB, free: 10.01 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.3544, allocations: 303.1 kB / 459.8 MB, free: 9.684 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002295/0.3546, allocations: 55.41 kB / 459.8 MB, free: 9.629 MB / 366.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3546, allocations: 0 / 459.8 MB, free: 9.629 MB / 366.1 MB Notification: Performance of Templates: time 0.01803/0.3727, allocations: 11.87 MB / 471.7 MB, free: 13.8 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 8.097382777836174]