Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.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.InductorWithHysteresis,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001289/0.001289, allocations: 112.5 kB / 17.86 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001144/0.001144, allocations: 209.7 kB / 18.79 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.276/1.276, allocations: 227.4 MB / 246.9 MB, free: 10.78 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001122, allocations: 59.92 kB / 306.9 MB, free: 0.9609 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08942/0.09055, allocations: 50.53 MB / 357.4 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.003865/0.09446, allocations: 2.885 MB / 360.3 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001952/0.09644, allocations: 1.309 MB / 361.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001577/0.09661, allocations: 0 / 361.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002492/0.0969, allocations: 59.62 kB / 361.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004573/0.09737, allocations: 194.9 kB / 361.9 MB, free: 9.961 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002402/0.09762, allocations: 111.9 kB / 362 MB, free: 9.852 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003706/0.098, allocations: 435 kB / 362.4 MB, free: 9.422 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.09815, allocations: 81.34 kB / 362.5 MB, free: 9.348 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002476/0.09841, allocations: 171.3 kB / 362.7 MB, free: 9.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002428/0.09867, allocations: 211.2 kB / 362.9 MB, free: 8.973 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.652e-05/0.09873, allocations: 28 kB / 362.9 MB, free: 8.945 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002683/0.09901, allocations: 139.9 kB / 363 MB, free: 8.809 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.58e-05/0.09909, allocations: 87.64 kB / 363.1 MB, free: 8.723 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001648/0.09926, allocations: 167.2 kB / 363.3 MB, free: 8.559 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003804/0.09965, allocations: 379 kB / 363.7 MB, free: 8.188 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.09966, allocations: 0 / 363.7 MB, free: 8.188 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.09967, allocations: 0 / 363.7 MB, free: 8.188 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.09968, allocations: 0 / 363.7 MB, free: 8.188 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001603/0.1013, allocations: 0.7094 MB / 364.4 MB, free: 7.43 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.1013, allocations: 19.95 kB / 364.4 MB, free: 7.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001845/0.1015, allocations: 44.47 kB / 364.4 MB, free: 7.367 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003839/0.1019, allocations: 325.4 kB / 364.7 MB, free: 7.008 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.114e-05/0.102, allocations: 58.81 kB / 364.8 MB, free: 6.945 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001569/0.1022, allocations: 36.41 kB / 364.8 MB, free: 6.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005927/0.1028, allocations: 324.4 kB / 365.2 MB, free: 6.578 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.1028, allocations: 0 / 365.2 MB, free: 6.578 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.206e-05/0.1028, allocations: 15.94 kB / 365.2 MB, free: 6.562 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.1029, allocations: 8 kB / 365.2 MB, free: 6.555 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000665/0.1035, allocations: 302 kB / 365.5 MB, free: 6.258 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001655/0.1052, allocations: 1.156 MB / 366.6 MB, free: 5.023 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005907/0.1058, allocations: 293 kB / 366.9 MB, free: 4.719 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003181/0.1061, allocations: 169.6 kB / 367.1 MB, free: 4.547 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.892e-05/0.1062, allocations: 11.98 kB / 367.1 MB, free: 4.535 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.1062, allocations: 34.56 kB / 367.1 MB, free: 4.492 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.513e-06/0.1062, allocations: 0 / 367.1 MB, free: 4.492 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.00967/0.1159, allocations: 2.42 MB / 369.5 MB, free: 2 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.116, allocations: 85.05 kB / 369.6 MB, free: 1.898 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00033/0.1163, allocations: 293 kB / 369.9 MB, free: 1.598 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.1e-05/0.1164, allocations: 33.7 kB / 369.9 MB, free: 1.559 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.1165, allocations: 176.3 kB / 370.1 MB, free: 1.383 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.1166, allocations: 145.8 kB / 370.3 MB, free: 1.238 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/0.1168, allocations: 78.11 kB / 370.3 MB, free: 1.156 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.1169, allocations: 338.8 kB / 370.7 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003997/0.1173, allocations: 160.8 kB / 370.8 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004277/0.1177, allocations: 238.6 kB / 371.1 MB, free: 412 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1483/0.2661, allocations: 397.9 kB / 371.4 MB, free: 20.2 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.2661, allocations: 2.844 kB / 371.4 MB, free: 20.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001247/0.2673, allocations: 485.7 kB / 371.9 MB, free: 20.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.2674, allocations: 5.406 kB / 371.9 MB, free: 20.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.2674, allocations: 2.578 kB / 371.9 MB, free: 20.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.2674, allocations: 3.531 kB / 371.9 MB, free: 20.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006468/0.2681, allocations: 121.1 kB / 372.1 MB, free: 20.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.2681, allocations: 4.703 kB / 372.1 MB, free: 20.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004205/0.2685, allocations: 37.03 kB / 372.1 MB, free: 20.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.126e-05/0.2686, allocations: 20.08 kB / 372.1 MB, free: 20.16 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 52 * 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.0001684/0.2687, allocations: 154.6 kB / 372.3 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.25e-05/0.2688, allocations: 29.12 kB / 372.3 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001945/0.2708, allocations: 0.6521 MB / 372.9 MB, free: 20 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/0.2708, allocations: 11.28 kB / 373 MB, free: 20 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.2708, allocations: 1.406 kB / 373 MB, free: 20 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-06/0.2708, allocations: 2.578 kB / 373 MB, free: 20 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003223/0.2741, allocations: 1.284 MB / 374.2 MB, free: 19.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.2741, allocations: 5.5 kB / 374.2 MB, free: 19.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004771/0.2746, allocations: 88.38 kB / 374.3 MB, free: 19.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00169/0.2763, allocations: 269.2 kB / 374.6 MB, free: 19.45 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.057e-05/0.2763, allocations: 14.09 kB / 374.6 MB, free: 19.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003456/0.2798, allocations: 2.211 MB / 376.8 MB, free: 17.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2798, allocations: 0 / 376.8 MB, free: 17.73 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002258/0.2821, allocations: 1.009 MB / 377.8 MB, free: 17.24 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/0.2823, allocations: 153.5 kB / 378 MB, free: 17.11 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.135e-05/0.2823, allocations: 12.73 kB / 378 MB, free: 17.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000454/0.2828, allocations: 24.05 kB / 378 MB, free: 17.1 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/0.2829, allocations: 35.36 kB / 378 MB, free: 17.1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.359e-05/0.283, allocations: 17.95 kB / 378.1 MB, free: 17.09 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002259/0.2832, allocations: 213.6 kB / 378.3 MB, free: 16.97 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.2832, allocations: 0 / 378.3 MB, free: 16.97 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005789/0.2838, allocations: 115.5 kB / 378.4 MB, free: 16.95 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (winding.i,core.Hstat,core.B,core.MagRel) * 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 (40): * Single equations (assignments): 39 * 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,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000259/0.2841, allocations: 144.7 kB / 378.5 MB, free: 16.86 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009285/0.285, allocations: 428.9 kB / 378.9 MB, free: 16.72 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.285, allocations: 1.469 kB / 378.9 MB, free: 16.72 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006529/0.2857, allocations: 380.6 kB / 379.3 MB, free: 16.52 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005403/0.2862, allocations: 50.2 kB / 379.4 MB, free: 16.49 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.2879, allocations: 1.127 MB / 380.5 MB, free: 15.79 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.2881, allocations: 0.7869 MB / 381.3 MB, free: 15.08 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001591/0.2883, allocations: 43.25 kB / 381.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2883, allocations: 0 / 381.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of Templates: time 0.008963/0.2973, allocations: 5.713 MB / 387 MB, free: 13.54 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches