Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001639/0.001639, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 225.4 MB / 240.1 MB, free: 15.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001089/0.001089, allocations: 92.53 kB / 292.1 MB, free: 5.906 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.428e-05/2.432e-05, allocations: 7.984 kB / 350.5 MB, free: 2.543 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0908/0.09084, allocations: 51.48 MB / 402 MB, free: 15.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3271/0.418, allocations: 81.99 MB / 484 MB, free: 7.559 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001994/0.4183, allocations: 76.59 kB / 484.1 MB, free: 7.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0213/0.4396, allocations: 7.353 MB / 491.4 MB, free: 1.371 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4396, allocations: 0 / 491.4 MB, free: 1.371 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.34e-05/0.4396, allocations: 7.938 kB / 491.4 MB, free: 1.363 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.0006816/0.4403, allocations: 0.5235 MB / 492 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.4404, allocations: 12.03 kB / 492 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001544/0.4405, allocations: 51.09 kB / 492 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002876/0.4408, allocations: 263.3 kB / 492.3 MB, free: 492 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.4409, allocations: 19.69 kB / 492.3 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.935e-05/0.4409, allocations: 31.58 kB / 492.3 MB, free: 464 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003635/0.4413, allocations: 228.2 kB / 492.6 MB, free: 300 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.4413, allocations: 0 / 492.6 MB, free: 300 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.808e-05/0.4413, allocations: 19.31 kB / 492.6 MB, free: 292 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.4413, allocations: 8 kB / 492.6 MB, free: 284 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003129/0.4417, allocations: 187.2 kB / 492.8 MB, free: 160 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00156/0.4432, allocations: 1.017 MB / 493.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003344/0.4436, allocations: 188.7 kB / 494 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000196/0.4438, allocations: 103 kB / 494.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.795e-05/0.4438, allocations: 0 / 494.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.4439, allocations: 43.38 kB / 494.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 1.032e-06/0.4439, allocations: 0 / 494.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.003893/0.4478, allocations: 1.22 MB / 495.3 MB, free: 13.69 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.4478, allocations: 59.41 kB / 495.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002307/0.4481, allocations: 201.1 kB / 495.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/0.4481, allocations: 33.7 kB / 495.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.4482, allocations: 192.1 kB / 495.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.314e-05/0.4483, allocations: 106.4 kB / 495.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.649e-05/0.4484, allocations: 4 kB / 495.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.4485, allocations: 342.8 kB / 496.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000184/0.4487, allocations: 99.98 kB / 496.4 MB, free: 12.63 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000208/0.4489, allocations: 156.2 kB / 496.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002077/0.4491, allocations: 113.6 kB / 496.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.4491, allocations: 0 / 496.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001485/0.4506, allocations: 0.5228 MB / 497.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.4506, allocations: 8 kB / 497.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.4507, allocations: 0 / 497.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000805/0.4515, allocations: 190.8 kB / 497.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/0.4517, allocations: 59.91 kB / 497.4 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004267/0.456, allocations: 3.753 MB / 0.4894 GB, free: 7.547 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002331/0.4563, allocations: 16.02 kB / 0.4894 GB, free: 7.531 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.726e-05/0.4563, allocations: 12 kB / 0.4894 GB, free: 7.52 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.0001112/0.4564, allocations: 120.9 kB / 0.4895 GB, free: 7.395 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.48e-05/0.4565, allocations: 27.62 kB / 0.4896 GB, free: 7.367 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.498e-05/0.4566, allocations: 47.14 kB / 0.4896 GB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4566, allocations: 8.969 kB / 0.4896 GB, free: 7.316 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.4566, allocations: 4 kB / 0.4896 GB, free: 7.312 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.4566, allocations: 7.938 kB / 0.4896 GB, free: 7.305 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001863/0.4585, allocations: 0.9343 MB / 0.4905 GB, free: 6.305 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.4585, allocations: 0 / 0.4905 GB, free: 6.305 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/0.4587, allocations: 39.91 kB / 0.4906 GB, free: 6.266 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007301/0.4595, allocations: 186.5 kB / 0.4908 GB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.4595, allocations: 8 kB / 0.4908 GB, free: 6.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00409/0.4636, allocations: 3.757 MB / 0.4944 GB, free: 2.059 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.4636, allocations: 0 / 0.4944 GB, free: 2.059 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001561/0.4652, allocations: 0.7142 MB / 0.4951 GB, free: 1.312 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.315e-05/0.4652, allocations: 102.7 kB / 0.4952 GB, free: 1.195 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.317e-05/0.4653, allocations: 8 kB / 0.4952 GB, free: 1.188 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/0.4655, allocations: 15.98 kB / 0.4953 GB, free: 1.172 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.035e-05/0.4656, allocations: 27.95 kB / 0.4953 GB, free: 1.145 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.323e-05/0.4657, allocations: 12 kB / 0.4953 GB, free: 1.133 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001749/0.4658, allocations: 165.4 kB / 0.4955 GB, free: 0.9727 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4658, allocations: 0 / 0.4955 GB, free: 0.9727 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005706/0.4664, allocations: 112 kB / 0.4956 GB, free: 0.8633 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.0002069/0.4666, allocations: 126.3 kB / 0.4957 GB, free: 0.7305 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008049/0.4675, allocations: 0.52 MB / 0.4962 GB, free: 192 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4675, allocations: 0 / 0.4962 GB, free: 192 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004894/0.468, allocations: 421.1 kB / 0.4966 GB, free: 15.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.4682, allocations: 29.91 kB / 0.4966 GB, free: 15.72 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008665/0.469, allocations: 464.1 kB / 0.4971 GB, free: 15.24 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.4694, allocations: 0.784 MB / 0.4978 GB, free: 14.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001009/0.4695, allocations: 14.08 kB / 0.4978 GB, free: 14.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.797e-05/0.4695, allocations: 23.42 kB / 0.4979 GB, free: 14.39 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.4696, allocations: 7.469 kB / 0.4979 GB, free: 14.39 MB / 378.7 MB Notification: Performance of Templates: time 0.009374/0.4789, allocations: 5.373 MB / 0.5031 GB, free: 9.074 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches