Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001473/0.001477, allocations: 109 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001882/0.001882, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 67.88 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2911, allocations: 50.53 MB / 409.9 MB, free: 1.484 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004014/0.2951, allocations: 2.811 MB / 412.7 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001477/0.2967, allocations: 0.7789 MB / 413.5 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002324/0.2969, allocations: 4 kB / 413.5 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002634/0.2972, allocations: 71.42 kB / 413.6 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003481/0.2976, allocations: 99.17 kB / 413.7 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003162/0.2979, allocations: 103.8 kB / 413.8 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004422/0.2983, allocations: 390.5 kB / 414.2 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002236/0.2986, allocations: 134.9 kB / 414.3 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003457/0.2989, allocations: 163.3 kB / 414.5 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002229/0.2992, allocations: 167.2 kB / 414.6 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.184e-05/0.2992, allocations: 32 kB / 414.7 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.654e-05/0.2993, allocations: 36 kB / 414.7 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.879e-05/0.2993, allocations: 75.69 kB / 414.8 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.2995, allocations: 175.1 kB / 414.9 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003688/0.2999, allocations: 407.6 kB / 415.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.2999, allocations: 0 / 415.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2999, allocations: 0 / 415.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.2999, allocations: 0 / 415.3 MB, free: 12.05 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.00115/0.3011, allocations: 0.647 MB / 416 MB, free: 11.36 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.3011, allocations: 8.031 kB / 416 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.592e-05/0.3012, allocations: 36.56 kB / 416 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003573/0.3015, allocations: 272.5 kB / 416.3 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.683e-05/0.3016, allocations: 25.03 kB / 416.3 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.147e-05/0.3016, allocations: 32.38 kB / 416.4 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005902/0.3022, allocations: 294.3 kB / 416.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.3023, allocations: 3.984 kB / 416.6 MB, free: 10.65 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.816e-05/0.3023, allocations: 12 kB / 416.7 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.3023, allocations: 12 kB / 416.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005775/0.3029, allocations: 246.5 kB / 416.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001599/0.3045, allocations: 1.108 MB / 418 MB, free: 9.18 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003597/0.3049, allocations: 158.5 kB / 418.2 MB, free: 9.016 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/0.3051, allocations: 64.83 kB / 418.2 MB, free: 8.949 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.993e-05/0.3051, allocations: 7.984 kB / 418.2 MB, free: 8.941 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.3051, allocations: 30.56 kB / 418.3 MB, free: 8.902 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.633e-06/0.3051, allocations: 0 / 418.3 MB, free: 8.902 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.002022/0.3072, allocations: 0.5974 MB / 418.9 MB, free: 8.297 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.3072, allocations: 59.39 kB / 418.9 MB, free: 8.227 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002498/0.3075, allocations: 270.6 kB / 419.2 MB, free: 7.953 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.3075, allocations: 29.7 kB / 419.2 MB, free: 7.918 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.3076, allocations: 223.5 kB / 419.4 MB, free: 7.695 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.235e-05/0.3077, allocations: 78.98 kB / 419.5 MB, free: 7.617 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.39e-05/0.3078, allocations: 69.39 kB / 419.6 MB, free: 7.543 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.3079, allocations: 330.8 kB / 419.9 MB, free: 7.211 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002784/0.3082, allocations: 99.92 kB / 420 MB, free: 7.113 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003198/0.3085, allocations: 188.2 kB / 420.2 MB, free: 6.883 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005846/0.3091, allocations: 309.1 kB / 420.5 MB, free: 6.539 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.3091, allocations: 4 kB / 420.5 MB, free: 6.535 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008251/0.3099, allocations: 397.2 kB / 420.9 MB, free: 6.137 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.31, allocations: 8 kB / 420.9 MB, free: 6.129 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.487e-06/0.31, allocations: 4 kB / 420.9 MB, free: 6.125 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002485/0.3102, allocations: 57.67 kB / 420.9 MB, free: 6.062 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003107/0.3106, allocations: 71.89 kB / 421 MB, free: 5.992 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001874/0.3124, allocations: 2.829 MB / 423.8 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000265/0.3127, allocations: 23.98 kB / 423.9 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.3128, allocations: 12 kB / 423.9 MB, free: 2.844 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001508/0.3129, allocations: 165.5 kB / 424 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.307e-05/0.313, allocations: 35.62 kB / 424.1 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.129e-05/0.3131, allocations: 30.23 kB / 424.1 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.3131, allocations: 7.938 kB / 424.1 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.3131, allocations: 0 / 424.1 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.3131, allocations: 0 / 424.1 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003383/0.3134, allocations: 333.4 kB / 424.4 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3134, allocations: 0 / 424.4 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002101/0.3136, allocations: 43.95 kB / 424.5 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001494/0.3138, allocations: 53.69 kB / 424.5 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.3138, allocations: 4 kB / 424.5 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001778/0.3156, allocations: 2.83 MB / 427.4 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.3156, allocations: 0 / 427.4 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000691/0.3163, allocations: 369 kB / 427.7 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.183e-05/0.3164, allocations: 116.6 kB / 427.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/0.3165, allocations: 0 / 427.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.3167, allocations: 15.98 kB / 427.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.584e-05/0.3167, allocations: 19.97 kB / 427.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.3168, allocations: 8 kB / 427.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001706/0.3169, allocations: 190 kB / 428.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3169, allocations: 4 kB / 428.1 MB, free: 14.26 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003901/0.3173, allocations: 72 kB / 428.1 MB, free: 14.19 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001133/0.3175, allocations: 103.2 kB / 428.2 MB, free: 14.08 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009087/0.3184, allocations: 481 kB / 428.7 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3184, allocations: 4 kB / 428.7 MB, free: 13.58 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004792/0.3189, allocations: 350 kB / 429.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/0.3192, allocations: 31.92 kB / 429.1 MB, free: 13.19 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.3202, allocations: 0.5614 MB / 429.7 MB, free: 12.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.3205, allocations: 0.7791 MB / 430.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.259e-05/0.3206, allocations: 23.44 kB / 430.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3206, allocations: 0 / 430.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of Templates: time 0.007649/0.3283, allocations: 5.967 MB / 436.4 MB, free: 5.793 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches