Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.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.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.i|coil.Phi|r_mLeak.port_p.Phi|r_mFe.mu_r|r_mFe.B|r_mFe.H",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.i|coil.Phi|r_mLeak.port_p.Phi|r_mFe.mu_r|r_mFe.B|r_mFe.H",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 221.5 MB / 230.3 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009033/0.0009031, allocations: 94.05 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.546e-05/1.568e-05, allocations: 4 kB / 337 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1054, allocations: 50.42 MB / 387.5 MB, free: 7.566 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.307/0.4124, allocations: 80.45 MB / 467.9 MB, free: 14.39 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/0.4127, allocations: 83.95 kB / 468 MB, free: 14.31 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01926/0.432, allocations: 7.122 MB / 475.1 MB, free: 7.164 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.432, allocations: 4 kB / 475.1 MB, free: 7.16 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.4321, allocations: 4 kB / 475.1 MB, free: 7.156 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0008461/0.4329, allocations: 0.5345 MB / 475.7 MB, free: 6.578 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.433, allocations: 8.031 kB / 475.7 MB, free: 6.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.219e-05/0.4331, allocations: 31.62 kB / 475.7 MB, free: 6.539 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003811/0.4334, allocations: 259.5 kB / 475.9 MB, free: 6.246 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.4335, allocations: 12 kB / 476 MB, free: 6.234 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.074e-05/0.4335, allocations: 12 kB / 476 MB, free: 6.223 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00035/0.4339, allocations: 173.1 kB / 476.1 MB, free: 6.055 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003573/0.4342, allocations: 195.7 kB / 476.3 MB, free: 5.855 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.4343, allocations: 3.953 kB / 476.3 MB, free: 5.852 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.454e-05/0.4343, allocations: 0 / 476.3 MB, free: 5.852 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.4343, allocations: 12 kB / 476.3 MB, free: 5.84 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001588/0.4359, allocations: 0.9541 MB / 477.3 MB, free: 4.809 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002873/0.4362, allocations: 178.5 kB / 477.5 MB, free: 4.625 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.4364, allocations: 96.84 kB / 477.6 MB, free: 4.527 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.508e-05/0.4364, allocations: 4.062 kB / 477.6 MB, free: 4.523 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.4365, allocations: 42.55 kB / 477.6 MB, free: 4.473 MB / 346.7 MB Notification: Performance of pre-optimization done (n=23): time 1.563e-06/0.4365, allocations: 0 / 477.6 MB, free: 4.473 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.003343/0.4398, allocations: 1.093 MB / 478.7 MB, free: 3.32 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.4399, allocations: 59.39 kB / 478.8 MB, free: 3.25 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.4401, allocations: 195.1 kB / 479 MB, free: 3.051 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.4401, allocations: 25.7 kB / 479 MB, free: 3.02 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.4403, allocations: 180.4 kB / 479.2 MB, free: 2.84 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.908e-05/0.4404, allocations: 114.3 kB / 479.3 MB, free: 2.727 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.518e-05/0.4404, allocations: 0 / 479.3 MB, free: 2.727 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.4405, allocations: 334.8 kB / 479.6 MB, free: 2.391 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.4407, allocations: 88 kB / 479.7 MB, free: 2.305 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001976/0.4409, allocations: 149.4 kB / 479.8 MB, free: 2.137 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/0.4411, allocations: 109.5 kB / 479.9 MB, free: 2.031 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.4411, allocations: 0 / 479.9 MB, free: 2.031 MB / 346.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001358/0.4424, allocations: 484.5 kB / 480.4 MB, free: 1.547 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.4425, allocations: 12.06 kB / 480.4 MB, free: 1.535 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.4425, allocations: 3.984 kB / 480.4 MB, free: 1.531 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008245/0.4433, allocations: 177.6 kB / 480.6 MB, free: 1.352 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002764/0.4436, allocations: 59.91 kB / 480.7 MB, free: 1.293 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004417/0.448, allocations: 3.628 MB / 484.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003071/0.4484, allocations: 4.125 kB / 484.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.803e-05/0.4484, allocations: 19.92 kB / 484.3 MB, free: 13.41 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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: 1 {(1,100.0%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001421/0.4486, allocations: 104.9 kB / 484.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.848e-05/0.4486, allocations: 27.67 kB / 484.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.648e-05/0.4487, allocations: 43.45 kB / 484.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.4488, allocations: 4 kB / 484.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/0.4488, allocations: 4 kB / 484.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.4488, allocations: 0 / 484.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001792/0.4506, allocations: 0.8526 MB / 485.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.4506, allocations: 4 kB / 485.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000204/0.4508, allocations: 43.91 kB / 485.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007481/0.4516, allocations: 185.6 kB / 485.6 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/0.4516, allocations: 0 / 485.6 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004169/0.4558, allocations: 3.624 MB / 489.2 MB, free: 8.223 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.4558, allocations: 0 / 489.2 MB, free: 8.223 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001632/0.4575, allocations: 0.6828 MB / 489.9 MB, free: 7.508 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.002e-05/0.4575, allocations: 96.83 kB / 490 MB, free: 7.395 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.698e-05/0.4576, allocations: 4.281 kB / 490 MB, free: 7.391 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002182/0.4578, allocations: 7.984 kB / 490 MB, free: 7.383 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.525e-05/0.4579, allocations: 23.97 kB / 490 MB, free: 7.359 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.4579, allocations: 15.92 kB / 490 MB, free: 7.344 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001372/0.4581, allocations: 149.7 kB / 490.2 MB, free: 7.199 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4581, allocations: 7.938 kB / 490.2 MB, free: 7.191 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005659/0.4586, allocations: 84 kB / 490.3 MB, free: 7.109 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (coil.i) * Number of discrete variables: 0 () * Number of discrete 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: 1 {(1,100.0%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001849/0.4588, allocations: 115.2 kB / 490.4 MB, free: 6.988 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007259/0.4596, allocations: 0.499 MB / 490.9 MB, free: 6.469 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.4596, allocations: 4 kB / 490.9 MB, free: 6.465 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004243/0.46, allocations: 387.6 kB / 491.2 MB, free: 6.066 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.4602, allocations: 12.67 kB / 491.3 MB, free: 6.047 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000824/0.4611, allocations: 451 kB / 491.7 MB, free: 5.586 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.4614, allocations: 0.784 MB / 492.5 MB, free: 4.773 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001006/0.4615, allocations: 18.06 kB / 492.5 MB, free: 4.754 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.15e-05/0.4615, allocations: 19.44 kB / 492.5 MB, free: 4.734 MB / 362.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4616, allocations: 0 / 492.5 MB, free: 4.734 MB / 362.7 MB Notification: Performance of Templates: time 0.008871/0.4704, allocations: 4.932 MB / 497.5 MB, free: 15.81 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches