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.001364/0.001364, allocations: 112.2 kB / 19.04 MB, free: 3.254 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.001298/0.001298, allocations: 196.4 kB / 22.22 MB, free: 72 kB / 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.373/1.373, allocations: 225.6 MB / 250.8 MB, free: 13.36 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.001532/0.001532, allocations: 51.91 kB / 368.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2424, allocations: 52.13 MB / 420.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.0061/0.2485, allocations: 4.41 MB / 425.3 MB, free: 10.69 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002867/0.2513, allocations: 1.602 MB / 426.9 MB, free: 9.078 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003307/0.2517, allocations: 15.88 kB / 426.9 MB, free: 9.062 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003732/0.252, allocations: 122.9 kB / 427 MB, free: 8.941 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008352/0.2529, allocations: 375.2 kB / 427.4 MB, free: 8.574 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004477/0.2533, allocations: 227.7 kB / 427.6 MB, free: 8.352 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001014/0.2543, allocations: 0.9823 MB / 428.6 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002858/0.2546, allocations: 153.5 kB / 428.7 MB, free: 7.207 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004496/0.2551, allocations: 382.7 kB / 429.1 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005156/0.2556, allocations: 426.2 kB / 429.5 MB, free: 6.414 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001194/0.2557, allocations: 100 kB / 429.6 MB, free: 6.316 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003653/0.2561, allocations: 219.9 kB / 429.8 MB, free: 6.102 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001863/0.2562, allocations: 195.3 kB / 430 MB, free: 5.91 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003801/0.2566, allocations: 410.1 kB / 430.4 MB, free: 5.508 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001291/0.2579, allocations: 1.171 MB / 431.6 MB, free: 4.336 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.2579, allocations: 0 / 431.6 MB, free: 4.336 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2579, allocations: 0 / 431.6 MB, free: 4.336 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.2579, allocations: 0 / 431.6 MB, free: 4.336 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.002474/0.2604, allocations: 1.114 MB / 432.7 MB, free: 3.172 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.2604, allocations: 12.03 kB / 432.7 MB, free: 3.16 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001486/0.2606, allocations: 84.42 kB / 432.8 MB, free: 3.078 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007976/0.2614, allocations: 0.511 MB / 433.3 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.914e-05/0.2615, allocations: 71.56 kB / 433.4 MB, free: 2.449 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002019/0.2617, allocations: 68.5 kB / 433.5 MB, free: 2.383 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.2628, allocations: 0.6058 MB / 434.1 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.2629, allocations: 0 / 434.1 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.516e-05/0.2629, allocations: 20 kB / 434.1 MB, free: 1.738 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.595e-05/0.2629, allocations: 16 kB / 434.1 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/0.2641, allocations: 0.5321 MB / 434.6 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00357/0.2677, allocations: 2.299 MB / 436.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.2687, allocations: 456.1 kB / 437.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005453/0.2693, allocations: 258 kB / 437.6 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.332e-05/0.2693, allocations: 4 kB / 437.6 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.2693, allocations: 38.56 kB / 437.7 MB, free: 14.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 2.054e-06/0.2693, allocations: 0 / 437.7 MB, free: 14.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.01331/0.2826, allocations: 3.56 MB / 441.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.292e-05/0.2827, allocations: 85.67 kB / 441.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000775/0.2835, allocations: 0.5332 MB / 441.8 MB, free: 9.715 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.591e-05/0.2835, allocations: 33.7 kB / 441.9 MB, free: 9.676 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002681/0.2838, allocations: 324.8 kB / 442.2 MB, free: 9.355 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002143/0.284, allocations: 226 kB / 442.4 MB, free: 9.133 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002162/0.2842, allocations: 118.3 kB / 442.5 MB, free: 9.012 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002021/0.2844, allocations: 362.8 kB / 442.9 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005894/0.285, allocations: 245.2 kB / 443.1 MB, free: 8.406 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006571/0.2857, allocations: 344.4 kB / 443.5 MB, free: 8.039 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/0.2869, allocations: 0.6058 MB / 444.1 MB, free: 7.402 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.2869, allocations: 0 / 444.1 MB, free: 7.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00166/0.2886, allocations: 0.7452 MB / 444.8 MB, free: 6.645 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.538e-05/0.2886, allocations: 10.97 kB / 444.8 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.2886, allocations: 320 / 444.8 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000172/0.2888, allocations: 32.84 kB / 444.9 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008102/0.2896, allocations: 167.8 kB / 445 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00128/0.2909, allocations: 1.43 MB / 446.4 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006068/0.2915, allocations: 47.97 kB / 446.5 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.535e-05/0.2915, allocations: 23.98 kB / 446.5 MB, free: 4.793 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.0003325/0.2919, allocations: 205.6 kB / 446.7 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/0.292, allocations: 67.58 kB / 446.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001884/0.2939, allocations: 0.8297 MB / 447.6 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/0.2939, allocations: 19.91 kB / 447.6 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.2939, allocations: 0 / 447.6 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.2939, allocations: 0 / 447.6 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003929/0.2979, allocations: 1.838 MB / 449.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.2979, allocations: 0 / 449.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005337/0.2984, allocations: 115.8 kB / 449.6 MB, free: 1.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002396/0.3008, allocations: 476.2 kB / 450 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.693e-05/0.3009, allocations: 15.98 kB / 450.1 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005418/0.3063, allocations: 3.15 MB / 453.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3063, allocations: 0 / 453.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003094/0.3094, allocations: 1.363 MB / 454.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003393/0.3097, allocations: 208.6 kB / 454.8 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.264e-05/0.3098, allocations: 16 kB / 454.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000602/0.3104, allocations: 47.95 kB / 454.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/0.3105, allocations: 56.38 kB / 454.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.951e-05/0.3106, allocations: 19.98 kB / 454.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005088/0.3111, allocations: 390.9 kB / 455.3 MB, free: 11.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3111, allocations: 0 / 455.3 MB, free: 11.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000715/0.3118, allocations: 184.1 kB / 455.5 MB, free: 11.57 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.0002863/0.3121, allocations: 159 kB / 455.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001547/0.3137, allocations: 0.7017 MB / 456.3 MB, free: 10.69 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3137, allocations: 8 kB / 456.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009451/0.3146, allocations: 0.4977 MB / 456.8 MB, free: 10.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006849/0.3153, allocations: 86 kB / 456.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002903/0.3182, allocations: 1.485 MB / 458.4 MB, free: 8.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005441/0.3187, allocations: 0.9004 MB / 459.3 MB, free: 7.641 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003509/0.3191, allocations: 68.81 kB / 459.4 MB, free: 7.574 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00019/0.3193, allocations: 51.41 kB / 459.4 MB, free: 7.523 MB / 366.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3193, allocations: 0 / 459.4 MB, free: 7.523 MB / 366.1 MB Notification: Performance of Templates: time 0.01928/0.3385, allocations: 10.7 MB / 470.1 MB, free: 12.93 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.csv","/var/lib/jenkins/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: 4.635062881745398]