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.002047/0.002047, allocations: 113.6 kB / 21.94 MB, free: 5.219 MB / 14.72 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.002395/0.002395, allocations: 213.5 kB / 25.22 MB, free: 3.027 MB / 14.72 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.55/1.55, allocations: 207.7 MB / 236.1 MB, free: 9.816 MB / 190.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 58.98 kB / 348.4 MB, free: 9.406 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2813, allocations: 49.16 MB / 397.6 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.004792/0.2861, allocations: 3.891 MB / 401.5 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002977/0.2891, allocations: 1.548 MB / 403 MB, free: 5.719 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004812/0.2896, allocations: 15.19 kB / 403.1 MB, free: 5.711 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000416/0.29, allocations: 125 kB / 403.2 MB, free: 5.641 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009431/0.2909, allocations: 367.7 kB / 403.5 MB, free: 5.41 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004942/0.2914, allocations: 235 kB / 403.8 MB, free: 5.266 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000938/0.2924, allocations: 0.975 MB / 404.7 MB, free: 4.758 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002573/0.2926, allocations: 151.1 kB / 404.9 MB, free: 4.676 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004919/0.2931, allocations: 387.8 kB / 405.3 MB, free: 4.488 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000513/0.2936, allocations: 377.9 kB / 405.6 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001424/0.2938, allocations: 95.94 kB / 405.7 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004323/0.2942, allocations: 210 kB / 405.9 MB, free: 4.301 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001464/0.2943, allocations: 198.7 kB / 406.1 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003258/0.2947, allocations: 346.6 kB / 406.5 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00136/0.296, allocations: 1.178 MB / 407.6 MB, free: 3.523 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.296, allocations: 0.6094 kB / 407.6 MB, free: 3.523 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.296, allocations: 0 / 407.6 MB, free: 3.523 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.382e-05/0.2961, allocations: 3.938 kB / 407.6 MB, free: 3.52 MB / 318.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.00233/0.2984, allocations: 1.037 MB / 408.7 MB, free: 2.863 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.2984, allocations: 13.58 kB / 408.7 MB, free: 2.859 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000155/0.2986, allocations: 80.34 kB / 408.8 MB, free: 2.82 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007757/0.2994, allocations: 475.1 kB / 409.2 MB, free: 2.461 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.2995, allocations: 128.2 kB / 409.4 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002055/0.2997, allocations: 62.94 kB / 409.4 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.3007, allocations: 0.7044 MB / 410.1 MB, free: 1.816 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.3007, allocations: 1.406 kB / 410.1 MB, free: 1.816 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.351e-05/0.3008, allocations: 25.59 kB / 410.2 MB, free: 1.797 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.3008, allocations: 12.75 kB / 410.2 MB, free: 1.797 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.3018, allocations: 0.5324 MB / 410.7 MB, free: 1.523 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002904/0.3047, allocations: 1.98 MB / 412.7 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.3057, allocations: 453.4 kB / 413.1 MB, free: 15.67 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005324/0.3062, allocations: 244.3 kB / 413.4 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.225e-05/0.3063, allocations: 8.562 kB / 413.4 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.429e-05/0.3063, allocations: 37.88 kB / 413.4 MB, free: 15.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=45): time 2.826e-06/0.3063, allocations: 4 kB / 413.4 MB, free: 15.49 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.01316/0.3195, allocations: 3.311 MB / 416.7 MB, free: 13.81 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.961e-05/0.3196, allocations: 88.17 kB / 416.8 MB, free: 13.71 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008724/0.3204, allocations: 0.5143 MB / 417.3 MB, free: 13.4 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.082e-05/0.3205, allocations: 41.02 kB / 417.4 MB, free: 13.36 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002768/0.3208, allocations: 319.2 kB / 417.7 MB, free: 13.07 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002219/0.321, allocations: 218.3 kB / 417.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002133/0.3212, allocations: 112.9 kB / 418 MB, free: 12.8 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002298/0.3215, allocations: 366.7 kB / 418.4 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005876/0.322, allocations: 240.8 kB / 418.6 MB, free: 12.33 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006777/0.3227, allocations: 353.8 kB / 418.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/0.324, allocations: 0.6003 MB / 419.5 MB, free: 11.72 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.324, allocations: 0 / 419.5 MB, free: 11.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001716/0.3257, allocations: 0.7428 MB / 420.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.3257, allocations: 9.5 kB / 420.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.3258, allocations: 2.531 kB / 420.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002106/0.326, allocations: 29.62 kB / 420.3 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008176/0.3268, allocations: 171 kB / 420.5 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001359/0.3281, allocations: 1.298 MB / 421.8 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007164/0.3289, allocations: 40.94 kB / 421.8 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.106e-05/0.3289, allocations: 27.39 kB / 421.9 MB, free: 9.914 MB / 334.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.0003565/0.3293, allocations: 202.2 kB / 422.1 MB, free: 9.738 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.3294, allocations: 59.19 kB / 422.1 MB, free: 9.707 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001918/0.3313, allocations: 0.8376 MB / 422.9 MB, free: 9.211 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.3313, allocations: 10.12 kB / 423 MB, free: 9.207 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.3313, allocations: 1.344 kB / 423 MB, free: 9.207 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.3314, allocations: 5.281 kB / 423 MB, free: 9.203 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003886/0.3352, allocations: 1.605 MB / 424.6 MB, free: 7.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.3352, allocations: 0 / 424.6 MB, free: 7.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005463/0.3358, allocations: 107.8 kB / 424.7 MB, free: 7.574 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002417/0.3382, allocations: 472.3 kB / 425.1 MB, free: 7.109 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.841e-05/0.3383, allocations: 20 kB / 425.2 MB, free: 7.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005447/0.3437, allocations: 2.962 MB / 428.1 MB, free: 4.031 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.3437, allocations: 0 / 428.1 MB, free: 4.031 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003247/0.347, allocations: 1.366 MB / 429.5 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004629/0.3474, allocations: 123.5 kB / 429.6 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.793e-05/0.3475, allocations: 19.94 kB / 429.6 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006259/0.3482, allocations: 47.95 kB / 429.7 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001622/0.3483, allocations: 56.44 kB / 429.7 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.61e-05/0.3484, allocations: 19.98 kB / 429.7 MB, free: 2.383 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005232/0.3489, allocations: 363.1 kB / 430.1 MB, free: 2.027 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3489, allocations: 0 / 430.1 MB, free: 2.027 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008304/0.3497, allocations: 188.1 kB / 430.3 MB, free: 1.844 MB / 334.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.0003096/0.35, allocations: 147 kB / 430.4 MB, free: 1.688 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001675/0.3517, allocations: 0.6994 MB / 431.1 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.3517, allocations: 0 / 431.1 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009975/0.3527, allocations: 0.5065 MB / 431.6 MB, free: 464 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007243/0.3534, allocations: 69.95 kB / 431.7 MB, free: 392 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003177/0.3566, allocations: 1.509 MB / 433.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.357, allocations: 314.9 kB / 433.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002775/0.3572, allocations: 59.34 kB / 433.6 MB, free: 14.44 MB / 350.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3572, allocations: 0 / 433.6 MB, free: 14.44 MB / 350.1 MB Notification: Performance of Templates: time 0.0183/0.3755, allocations: 11.88 MB / 445.5 MB, free: 2.539 MB / 350.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.csv","/var/lib/jenkins1/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: 8.210182088892907]