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.00163/0.00163, allocations: 107.6 kB / 21.18 MB, free: 0.6094 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.001844/0.001844, allocations: 215 kB / 24.47 MB, free: 3.938 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.429/1.429, allocations: 207.7 MB / 235.3 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.002395/0.002395, allocations: 55.92 kB / 347.7 MB, free: 9.484 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2982, allocations: 49.16 MB / 396.9 MB, free: 9.379 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.004867/0.303, allocations: 3.882 MB / 400.7 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003764/0.3068, allocations: 1.56 MB / 402.3 MB, free: 5.691 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007016/0.3075, allocations: 11.53 kB / 402.3 MB, free: 5.688 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004575/0.308, allocations: 116.4 kB / 402.4 MB, free: 5.621 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009995/0.309, allocations: 371.5 kB / 402.8 MB, free: 5.391 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004813/0.3095, allocations: 229.8 kB / 403 MB, free: 5.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008383/0.3103, allocations: 0.9809 MB / 404 MB, free: 4.734 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000285/0.3106, allocations: 153.4 kB / 404.1 MB, free: 4.652 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004504/0.311, allocations: 384.4 kB / 404.5 MB, free: 4.469 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005075/0.3115, allocations: 374 kB / 404.9 MB, free: 4.309 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001486/0.3117, allocations: 95.91 kB / 405 MB, free: 4.309 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004072/0.3121, allocations: 214.3 kB / 405.2 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001643/0.3123, allocations: 199.3 kB / 405.4 MB, free: 4.141 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003172/0.3126, allocations: 342.6 kB / 405.7 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.3139, allocations: 1.18 MB / 406.9 MB, free: 3.504 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3139, allocations: 4.594 kB / 406.9 MB, free: 3.5 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3139, allocations: 0 / 406.9 MB, free: 3.5 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.3139, allocations: 1.469 kB / 406.9 MB, free: 3.5 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.002399/0.3163, allocations: 1.039 MB / 407.9 MB, free: 2.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.3164, allocations: 14.73 kB / 407.9 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001651/0.3165, allocations: 83.12 kB / 408 MB, free: 2.793 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007988/0.3173, allocations: 470.5 kB / 408.5 MB, free: 2.438 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.809e-05/0.3174, allocations: 125.1 kB / 408.6 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001991/0.3176, allocations: 73.73 kB / 408.7 MB, free: 2.293 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.3186, allocations: 0.7056 MB / 409.4 MB, free: 1.785 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/0.3187, allocations: 0 / 409.4 MB, free: 1.785 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.673e-05/0.3187, allocations: 24.84 kB / 409.4 MB, free: 1.766 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/0.3187, allocations: 13.78 kB / 409.4 MB, free: 1.766 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.3198, allocations: 0.5242 MB / 410 MB, free: 1.5 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002916/0.3227, allocations: 1.973 MB / 411.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.3238, allocations: 454.7 kB / 412.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005509/0.3243, allocations: 246.5 kB / 412.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.951e-05/0.3244, allocations: 5.125 kB / 412.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.179e-05/0.3244, allocations: 43.23 kB / 412.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of pre-optimization done (n=45): time 4.438e-06/0.3244, allocations: 4 kB / 412.7 MB, free: 15.47 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.01333/0.3377, allocations: 3.31 MB / 416 MB, free: 13.79 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.763e-05/0.3378, allocations: 91.83 kB / 416.1 MB, free: 13.69 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008342/0.3386, allocations: 0.5072 MB / 416.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.3e-05/0.3387, allocations: 41.2 kB / 416.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002794/0.339, allocations: 322.5 kB / 416.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002151/0.3392, allocations: 222.6 kB / 417.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002033/0.3394, allocations: 109.5 kB / 417.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002019/0.3396, allocations: 362.4 kB / 417.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005699/0.3402, allocations: 244.2 kB / 417.8 MB, free: 12.31 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006686/0.3408, allocations: 354.4 kB / 418.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/0.3421, allocations: 0.5995 MB / 418.8 MB, free: 11.7 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.3421, allocations: 1.594 kB / 418.8 MB, free: 11.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001628/0.3437, allocations: 0.7377 MB / 419.5 MB, free: 11.31 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.3437, allocations: 11.22 kB / 419.5 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.3437, allocations: 1.469 kB / 419.5 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001997/0.3439, allocations: 37.89 kB / 419.6 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008069/0.3447, allocations: 166.5 kB / 419.7 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001321/0.3461, allocations: 1.294 MB / 421 MB, free: 9.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006363/0.3467, allocations: 36.67 kB / 421.1 MB, free: 9.914 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.04e-05/0.3468, allocations: 31.89 kB / 421.1 MB, free: 9.898 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.0003898/0.3471, allocations: 206.6 kB / 421.3 MB, free: 9.719 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.3473, allocations: 63.23 kB / 421.4 MB, free: 9.684 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002011/0.3493, allocations: 0.8377 MB / 422.2 MB, free: 9.188 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.3493, allocations: 6.75 kB / 422.2 MB, free: 9.188 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.3493, allocations: 0 / 422.2 MB, free: 9.188 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.456e-05/0.3493, allocations: 9.016 kB / 422.2 MB, free: 9.18 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003835/0.3532, allocations: 1.607 MB / 423.8 MB, free: 7.668 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.3532, allocations: 0 / 423.8 MB, free: 7.668 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005252/0.3537, allocations: 111.9 kB / 423.9 MB, free: 7.559 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002294/0.356, allocations: 468.4 kB / 424.4 MB, free: 7.098 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.322e-05/0.356, allocations: 15.98 kB / 424.4 MB, free: 7.082 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005234/0.3613, allocations: 2.962 MB / 427.4 MB, free: 4.023 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.3613, allocations: 0 / 427.4 MB, free: 4.023 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003187/0.3645, allocations: 1.374 MB / 428.7 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004087/0.3649, allocations: 131.6 kB / 428.9 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/0.365, allocations: 12 kB / 428.9 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006678/0.3657, allocations: 39.97 kB / 428.9 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001756/0.3659, allocations: 56.5 kB / 429 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.092e-05/0.3659, allocations: 19.98 kB / 429 MB, free: 2.375 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005589/0.3665, allocations: 367.1 kB / 429.3 MB, free: 2.016 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3665, allocations: 0 / 429.3 MB, free: 2.016 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009271/0.3674, allocations: 188.1 kB / 429.5 MB, free: 1.832 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.0003953/0.3678, allocations: 143 kB / 429.7 MB, free: 1.68 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001762/0.3695, allocations: 0.711 MB / 430.4 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.3695, allocations: 0 / 430.4 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001031/0.3706, allocations: 0.4988 MB / 430.9 MB, free: 452 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000718/0.3713, allocations: 73.89 kB / 431 MB, free: 376 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003424/0.3747, allocations: 1.477 MB / 432.4 MB, free: 14.85 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.3751, allocations: 310.9 kB / 432.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003746/0.3755, allocations: 72.64 kB / 432.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002006/0.3757, allocations: 51.41 kB / 432.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3757, allocations: 0 / 432.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of Templates: time 0.0209/0.3966, allocations: 10.28 MB / 443.1 MB, free: 4.094 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/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: 5.076929284259677]