Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001627/0.001627, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001935/0.001935, allocations: 211.4 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 230.5 MB / 258.1 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 63.91 kB / 379 MB, free: 2.305 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2402, allocations: 53.42 MB / 432.4 MB, free: 6.492 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005105/0.2453, allocations: 3.202 MB / 435.6 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002877/0.2482, allocations: 1.585 MB / 437.2 MB, free: 1.684 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001995/0.2484, allocations: 19.88 kB / 437.2 MB, free: 1.664 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003316/0.2517, allocations: 2.659 MB / 439.9 MB, free: 15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005493/0.2522, allocations: 226.5 kB / 440.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008005/0.253, allocations: 330.7 kB / 440.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001883/0.2549, allocations: 1.821 MB / 442.2 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002116/0.2551, allocations: 100 kB / 442.3 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005184/0.2556, allocations: 325 kB / 442.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005235/0.2562, allocations: 326.8 kB / 443 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.2563, allocations: 48 kB / 443 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002289/0.2565, allocations: 95.92 kB / 443.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000715/0.2572, allocations: 0.8491 MB / 444 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006156/0.2578, allocations: 0.6627 MB / 444.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002826/0.2607, allocations: 2.675 MB / 447.3 MB, free: 7.551 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.2607, allocations: 4 kB / 447.3 MB, free: 7.547 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.2607, allocations: 0 / 447.3 MB, free: 7.547 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.349e-05/0.2607, allocations: 0 / 447.3 MB, free: 7.547 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.004603/0.2653, allocations: 2.843 MB / 450.1 MB, free: 4.652 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.2653, allocations: 8.031 kB / 450.2 MB, free: 4.645 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005162/0.2658, allocations: 306.9 kB / 450.5 MB, free: 4.344 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002929/0.2688, allocations: 1.798 MB / 452.3 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/0.2689, allocations: 114.7 kB / 452.4 MB, free: 2.379 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001694/0.2691, allocations: 48.48 kB / 452.4 MB, free: 2.332 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008075/0.2699, allocations: 454.4 kB / 452.9 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.2699, allocations: 0 / 452.9 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.045e-05/0.2699, allocations: 19.94 kB / 452.9 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.2699, allocations: 8 kB / 452.9 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007511/0.2707, allocations: 323.8 kB / 453.2 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004304/0.275, allocations: 2.556 MB / 455.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007212/0.2757, allocations: 308.1 kB / 456.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003309/0.2761, allocations: 152.6 kB / 456.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.307e-05/0.2761, allocations: 8 kB / 456.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.2761, allocations: 38.55 kB / 456.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=37): time 2.134e-06/0.2761, allocations: 4 kB / 456.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.005056/0.2812, allocations: 2.399 MB / 458.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.141e-05/0.2812, allocations: 81.55 kB / 458.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006837/0.2881, allocations: 5.461 MB / 464.2 MB, free: 6.352 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.778e-05/0.2881, allocations: 29.7 kB / 464.2 MB, free: 6.316 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001269/0.2894, allocations: 1.172 MB / 465.4 MB, free: 5.141 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001566/0.2895, allocations: 186.4 kB / 465.6 MB, free: 4.957 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.2897, allocations: 90.19 kB / 465.7 MB, free: 4.863 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.2899, allocations: 326 kB / 466 MB, free: 4.539 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004109/0.2903, allocations: 140.9 kB / 466.1 MB, free: 4.402 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004114/0.2907, allocations: 221.1 kB / 466.3 MB, free: 4.156 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007415/0.2914, allocations: 384.3 kB / 466.7 MB, free: 3.754 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2914, allocations: 0 / 466.7 MB, free: 3.754 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001221/0.2927, allocations: 0.6936 MB / 467.4 MB, free: 3.051 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.2927, allocations: 15.94 kB / 467.4 MB, free: 3.035 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.2927, allocations: 0 / 467.4 MB, free: 3.035 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.2927, allocations: 8 kB / 467.4 MB, free: 3.027 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005478/0.2933, allocations: 119.8 kB / 467.5 MB, free: 2.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.2933, allocations: 4 kB / 467.5 MB, free: 2.906 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004057/0.2937, allocations: 19.94 kB / 467.6 MB, free: 2.887 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.322e-05/0.2937, allocations: 20 kB / 467.6 MB, free: 2.867 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001122/0.2948, allocations: 0.9192 MB / 468.5 MB, free: 1.938 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003425/0.2952, allocations: 294 kB / 468.8 MB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001503/0.2967, allocations: 0.7982 MB / 469.6 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.2967, allocations: 4 kB / 469.6 MB, free: 0.832 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.2967, allocations: 0 / 469.6 MB, free: 0.832 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.2967, allocations: 0 / 469.6 MB, free: 0.832 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/0.2983, allocations: 1.176 MB / 470.8 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.2983, allocations: 4 kB / 470.8 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004509/0.2987, allocations: 95.88 kB / 470.9 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003529/0.2991, allocations: 100.7 kB / 471 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.347e-05/0.2991, allocations: 15.98 kB / 471 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006195/0.2997, allocations: 0.6342 MB / 471.6 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2997, allocations: 4.062 kB / 471.6 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001747/0.3015, allocations: 1.087 MB / 472.7 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001058/0.3025, allocations: 434 kB / 473.1 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001717/0.3027, allocations: 12 kB / 473.1 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004643/0.3032, allocations: 19.98 kB / 473.2 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.728e-05/0.3032, allocations: 32.38 kB / 473.2 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.909e-05/0.3033, allocations: 12 kB / 473.2 MB, free: 13.14 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00498/0.3083, allocations: 3.99 MB / 477.2 MB, free: 9.156 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3083, allocations: 0 / 477.2 MB, free: 9.156 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006828/0.3089, allocations: 207.9 kB / 477.4 MB, free: 8.953 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (core.MagRel,winding1.i,winding2.i,core.Hstat,core.B) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * 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 {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001658/0.3106, allocations: 440.8 kB / 477.8 MB, free: 8.668 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008238/0.3114, allocations: 360.8 kB / 478.2 MB, free: 8.316 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.3114, allocations: 4 kB / 478.2 MB, free: 8.312 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004613/0.3119, allocations: 198.4 kB / 478.4 MB, free: 8.121 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009793/0.3129, allocations: 191.2 kB / 478.6 MB, free: 7.934 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007887/0.3208, allocations: 5.68 MB / 484.2 MB, free: 2.203 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001576/0.3223, allocations: 1.25 MB / 485.5 MB, free: 0.918 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003369/0.3227, allocations: 95.42 kB / 485.6 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3227, allocations: 0 / 485.6 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of Templates: time 0.06454/0.3872, allocations: 37.06 MB / 0.5104 GB, free: 11.74 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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.560276166070253]