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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=10000,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=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001029/0.001028, allocations: 104.2 kB / 17.2 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001149/0.001149, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.311/1.311, allocations: 227.4 MB / 246.3 MB, free: 10.84 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 59.28 kB / 306.3 MB, free: 1.02 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08505/0.08617, allocations: 50.53 MB / 356.8 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.004217/0.09042, allocations: 3.474 MB / 360.3 MB, free: 11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002269/0.09271, allocations: 1.656 MB / 361.9 MB, free: 9.332 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001727/0.0929, allocations: 7.938 kB / 361.9 MB, free: 9.324 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002071/0.09497, allocations: 1.852 MB / 363.8 MB, free: 7.469 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000383/0.09539, allocations: 183 kB / 364 MB, free: 7.289 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006095/0.09601, allocations: 286.3 kB / 364.2 MB, free: 7.016 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001405/0.09743, allocations: 1.722 MB / 366 MB, free: 5.285 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00019/0.09763, allocations: 120.4 kB / 366.1 MB, free: 5.168 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003557/0.09799, allocations: 289 kB / 366.4 MB, free: 4.887 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000301/0.0983, allocations: 310.7 kB / 366.7 MB, free: 4.582 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.979e-05/0.09839, allocations: 28 kB / 366.7 MB, free: 4.555 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001794/0.09857, allocations: 75.97 kB / 366.8 MB, free: 4.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005239/0.0991, allocations: 0.8258 MB / 367.6 MB, free: 3.652 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005715/0.09968, allocations: 0.9033 MB / 368.5 MB, free: 2.742 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001601/0.1013, allocations: 2.558 MB / 371.1 MB, free: 180 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1013, allocations: 4 kB / 371.1 MB, free: 176 kB / 302.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.1013, allocations: 0 / 371.1 MB, free: 176 kB / 302.1 MB Notification: Performance of Transformations before backend: time 1.7e-05/0.1013, allocations: 0 / 371.1 MB, free: 176 kB / 302.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.1703/0.2716, allocations: 2.814 MB / 373.9 MB, free: 18.83 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.2717, allocations: 9.906 kB / 373.9 MB, free: 18.83 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005481/0.2722, allocations: 290.9 kB / 374.2 MB, free: 18.68 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002645/0.2749, allocations: 1.832 MB / 376 MB, free: 17.81 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.946e-05/0.275, allocations: 63.23 kB / 376.1 MB, free: 17.76 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001696/0.2751, allocations: 45.16 kB / 376.1 MB, free: 17.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007472/0.2759, allocations: 399.1 kB / 376.5 MB, free: 17.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.2759, allocations: 0 / 376.5 MB, free: 17.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.846e-05/0.276, allocations: 16.12 kB / 376.5 MB, free: 17.56 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.276, allocations: 8.25 kB / 376.5 MB, free: 17.56 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007372/0.2767, allocations: 334 kB / 376.8 MB, free: 17.45 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004425/0.2812, allocations: 2.911 MB / 379.8 MB, free: 16.04 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000645/0.2818, allocations: 325.7 kB / 380.1 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002968/0.2821, allocations: 164.3 kB / 380.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.93e-05/0.2822, allocations: 3.641 kB / 380.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.2822, allocations: 36.88 kB / 380.3 MB, free: 15.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 3.337e-06/0.2822, allocations: 1.906 kB / 380.3 MB, free: 15.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.005122/0.2874, allocations: 2.396 MB / 382.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.2874, allocations: 88.09 kB / 382.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007293/0.2947, allocations: 5.449 MB / 388.2 MB, free: 12.62 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.396e-05/0.2948, allocations: 34.98 kB / 388.2 MB, free: 12.58 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009523/0.2958, allocations: 1.186 MB / 389.4 MB, free: 11.67 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.296, allocations: 167.9 kB / 389.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001504/0.2961, allocations: 88.73 kB / 389.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.379e-05/0.2962, allocations: 330.5 kB / 390 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003656/0.2966, allocations: 142.8 kB / 390.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003597/0.2969, allocations: 219.7 kB / 390.4 MB, free: 11 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006425/0.2976, allocations: 382.4 kB / 390.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2976, allocations: 0 / 390.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001387/0.299, allocations: 0.6815 MB / 391.4 MB, free: 10.46 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.299, allocations: 13.09 kB / 391.4 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.299, allocations: 2.094 kB / 391.4 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.2991, allocations: 5.094 kB / 391.4 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005225/0.2996, allocations: 125.6 kB / 391.6 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.2996, allocations: 5.281 kB / 391.6 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004891/0.3001, allocations: 25.06 kB / 391.6 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.367e-05/0.3001, allocations: 19.39 kB / 391.6 MB, free: 10.42 MB / 302.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.000965/0.3011, allocations: 0.9248 MB / 392.5 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002827/0.3014, allocations: 271.5 kB / 392.8 MB, free: 9.879 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001274/0.3027, allocations: 0.805 MB / 393.6 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.3027, allocations: 3.594 kB / 393.6 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.3027, allocations: 0 / 393.6 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.3027, allocations: 3.984 kB / 393.6 MB, free: 9.461 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001443/0.3042, allocations: 1.481 MB / 395.1 MB, free: 8.234 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.3042, allocations: 2.844 kB / 395.1 MB, free: 8.234 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000424/0.3046, allocations: 99.88 kB / 395.2 MB, free: 8.137 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003258/0.305, allocations: 84.78 kB / 395.3 MB, free: 8.051 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.888e-05/0.305, allocations: 19.78 kB / 395.3 MB, free: 8.035 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000395/0.3054, allocations: 0.6305 MB / 395.9 MB, free: 7.379 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.3054, allocations: 0 / 395.9 MB, free: 7.379 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001366/0.3068, allocations: 1.085 MB / 397 MB, free: 6.277 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005598/0.3074, allocations: 495.3 kB / 397.5 MB, free: 5.773 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002049/0.3076, allocations: 12 kB / 397.5 MB, free: 5.762 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004941/0.3081, allocations: 19.98 kB / 397.5 MB, free: 5.742 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.554e-05/0.3082, allocations: 28.39 kB / 397.5 MB, free: 5.715 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.618e-05/0.3082, allocations: 12 kB / 397.6 MB, free: 5.703 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.003594/0.3118, allocations: 3.99 MB / 401.5 MB, free: 1.723 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3118, allocations: 2.516 kB / 401.5 MB, free: 1.723 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006917/0.3125, allocations: 212 kB / 401.8 MB, free: 1.516 MB / 302.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.0009623/0.3135, allocations: 419.5 kB / 402.2 MB, free: 1.258 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007755/0.3143, allocations: 381.3 kB / 402.5 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.3143, allocations: 4.062 kB / 402.5 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004525/0.3147, allocations: 210.3 kB / 402.7 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.3159, allocations: 188.5 kB / 402.9 MB, free: 500 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008349/0.3243, allocations: 6.054 MB / 409 MB, free: 10.39 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002029/0.3263, allocations: 1.818 MB / 410.8 MB, free: 8.539 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007771/0.3271, allocations: 279.7 kB / 411.1 MB, free: 8.266 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004551/0.3276, allocations: 87.42 kB / 411.2 MB, free: 8.184 MB / 318.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3276, allocations: 3.938 kB / 411.2 MB, free: 8.18 MB / 318.1 MB Notification: Performance of Templates: time 0.03107/0.3587, allocations: 14.78 MB / 425.9 MB, free: 9.445 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches