Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 171.5 kB / 17.4 MB, free: 4.395 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 223.3 MB / 241.4 MB, free: 9.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007489/0.0007488, allocations: 91.92 kB / 292.6 MB, free: 10.58 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000292/0.0002921, allocations: 8 kB / 352.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2007, allocations: 50.41 MB / 402.7 MB, free: 32.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08817/0.289, allocations: 80.98 MB / 483.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002033/0.2892, allocations: 83.95 kB / 483.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0221/0.3113, allocations: 8.311 MB / 492.1 MB, free: 6.926 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.3113, allocations: 4 kB / 492.1 MB, free: 6.922 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.3114, allocations: 7.938 kB / 492.1 MB, free: 6.914 MB / 362.7 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.0009462/0.3123, allocations: 0.5818 MB / 492.7 MB, free: 6.281 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.3124, allocations: 15.97 kB / 492.7 MB, free: 6.266 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.526e-05/0.3124, allocations: 36.56 kB / 492.8 MB, free: 6.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003262/0.3128, allocations: 276.9 kB / 493 MB, free: 5.922 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.3128, allocations: 25.03 kB / 493.1 MB, free: 5.898 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.179e-05/0.3129, allocations: 28.38 kB / 493.1 MB, free: 5.871 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005538/0.3134, allocations: 290.6 kB / 493.4 MB, free: 5.578 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.3135, allocations: 4.188 kB / 493.4 MB, free: 5.574 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.936e-05/0.3135, allocations: 15.94 kB / 493.4 MB, free: 5.559 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.3135, allocations: 8 kB / 493.4 MB, free: 5.551 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005863/0.3141, allocations: 266.5 kB / 493.7 MB, free: 5.293 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001623/0.3157, allocations: 1.131 MB / 494.8 MB, free: 4.062 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003424/0.3161, allocations: 155.4 kB / 494.9 MB, free: 3.902 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001734/0.3163, allocations: 80.81 kB / 495 MB, free: 3.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.3163, allocations: 7.922 kB / 495 MB, free: 3.812 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.3164, allocations: 34.5 kB / 495.1 MB, free: 3.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.563e-06/0.3164, allocations: 4 kB / 495.1 MB, free: 3.766 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001915/0.3183, allocations: 0.675 MB / 495.7 MB, free: 3.082 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.3183, allocations: 59.41 kB / 495.8 MB, free: 3.012 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002524/0.3186, allocations: 266.5 kB / 496.1 MB, free: 2.746 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.3186, allocations: 25.7 kB / 496.1 MB, free: 2.715 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.3188, allocations: 219.5 kB / 496.3 MB, free: 2.496 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.931e-05/0.3188, allocations: 82.83 kB / 496.4 MB, free: 2.414 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.395e-05/0.3188, allocations: 8 kB / 496.4 MB, free: 2.406 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.319, allocations: 338.8 kB / 496.7 MB, free: 2.066 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002732/0.3192, allocations: 103.9 kB / 496.8 MB, free: 1.965 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003145/0.3196, allocations: 200.5 kB / 497 MB, free: 1.723 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005619/0.3201, allocations: 326.8 kB / 497.3 MB, free: 1.363 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3201, allocations: 0 / 497.3 MB, free: 1.363 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007848/0.3209, allocations: 409.3 kB / 497.7 MB, free: 0.9531 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.321, allocations: 11.94 kB / 497.8 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.321, allocations: 4 kB / 497.8 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002284/0.3212, allocations: 61.66 kB / 497.8 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003291/0.3216, allocations: 75.89 kB / 497.9 MB, free: 0.7969 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001753/0.3233, allocations: 2.639 MB / 0.4888 GB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002534/0.3236, allocations: 32.11 kB / 0.4888 GB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.3236, allocations: 12 kB / 0.4888 GB, free: 13.84 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001447/0.3238, allocations: 146.5 kB / 0.489 GB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.795e-05/0.3238, allocations: 27.7 kB / 0.489 GB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.015e-05/0.3239, allocations: 34.12 kB / 0.489 GB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3239, allocations: 4 kB / 0.489 GB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.3239, allocations: 3.984 kB / 0.489 GB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3239, allocations: 0 / 0.489 GB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000334/0.3243, allocations: 329.4 kB / 0.4894 GB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.3243, allocations: 0 / 0.4894 GB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/0.3245, allocations: 47.91 kB / 0.4894 GB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001455/0.3246, allocations: 57.67 kB / 0.4895 GB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.3247, allocations: 11.94 kB / 0.4895 GB, free: 13.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001688/0.3264, allocations: 2.629 MB / 0.492 GB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3264, allocations: 0 / 0.492 GB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006594/0.327, allocations: 392.7 kB / 0.4924 GB, free: 9.836 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.724e-05/0.3271, allocations: 104.7 kB / 0.4925 GB, free: 9.715 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/0.3271, allocations: 8 kB / 0.4925 GB, free: 9.707 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/0.3273, allocations: 23.98 kB / 0.4925 GB, free: 9.684 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.441e-05/0.3274, allocations: 19.97 kB / 0.4926 GB, free: 9.664 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.3274, allocations: 4 kB / 0.4926 GB, free: 9.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001544/0.3276, allocations: 186 kB / 0.4927 GB, free: 9.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3276, allocations: 0 / 0.4927 GB, free: 9.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003732/0.328, allocations: 72 kB / 0.4928 GB, free: 9.41 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001187/0.3281, allocations: 107.2 kB / 0.4929 GB, free: 9.297 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000826/0.3289, allocations: 0.4938 MB / 0.4934 GB, free: 8.777 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.329, allocations: 0 / 0.4934 GB, free: 8.777 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000433/0.3294, allocations: 355.4 kB / 0.4937 GB, free: 8.406 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.3298, allocations: 36.41 kB / 0.4938 GB, free: 8.367 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009612/0.3307, allocations: 0.6755 MB / 0.4944 GB, free: 7.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.3311, allocations: 0.7713 MB / 0.4952 GB, free: 6.863 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001466/0.3312, allocations: 26.28 kB / 0.4952 GB, free: 6.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.549e-05/0.3313, allocations: 23.44 kB / 0.4952 GB, free: 6.816 MB / 378.7 MB Notification: Performance of SimCode: time 2.91e-07/0.3313, allocations: 4 kB / 0.4952 GB, free: 6.812 MB / 378.7 MB Notification: Performance of Templates: time 0.005653/0.3369, allocations: 2.516 MB / 0.4977 GB, free: 4.309 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches