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/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.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/ModelicaServices trunk/package.mo): time 0.0008881/0.0008882, allocations: 95 kB / 16.98 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009286/0.0009287, allocations: 206.4 kB / 17.9 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.288/1.288, allocations: 227.2 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001987/0.0001987, allocations: 8 kB / 306.6 MB, free: 1.402 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08826/0.08847, allocations: 51.49 MB / 358.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.002546/0.09105, allocations: 2.237 MB / 360.3 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.09217, allocations: 0.838 MB / 361.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.09229, allocations: 8 kB / 361.2 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001333/0.09243, allocations: 43.69 kB / 361.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002431/0.09268, allocations: 107.7 kB / 361.3 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001898/0.09288, allocations: 71.8 kB / 361.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002673/0.09316, allocations: 231.5 kB / 361.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.09331, allocations: 81.69 kB / 361.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.09349, allocations: 119.6 kB / 361.8 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001692/0.09367, allocations: 135.4 kB / 361.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.894e-05/0.09371, allocations: 12 kB / 361.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.887e-05/0.09378, allocations: 23.94 kB / 362 MB, free: 10 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.085e-05/0.09383, allocations: 47.83 kB / 362 MB, free: 9.953 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.452e-05/0.09389, allocations: 81.52 kB / 362.1 MB, free: 9.867 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002339/0.09413, allocations: 271.5 kB / 362.4 MB, free: 9.602 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.09414, allocations: 0 / 362.4 MB, free: 9.602 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.09415, allocations: 0 / 362.4 MB, free: 9.602 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.09416, allocations: 0 / 362.4 MB, free: 9.602 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.000805/0.09497, allocations: 0.565 MB / 362.9 MB, free: 8.988 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.09501, allocations: 16.03 kB / 362.9 MB, free: 8.973 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001533/0.09517, allocations: 43.61 kB / 363 MB, free: 8.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.09543, allocations: 251.5 kB / 363.2 MB, free: 8.641 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.09546, allocations: 20.56 kB / 363.2 MB, free: 8.621 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.376e-05/0.09551, allocations: 24 kB / 363.3 MB, free: 8.598 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004255/0.09594, allocations: 248.8 kB / 363.5 MB, free: 8.352 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.09596, allocations: 7.984 kB / 363.5 MB, free: 8.344 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.61e-05/0.09599, allocations: 12 kB / 363.5 MB, free: 8.332 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.09601, allocations: 4 kB / 363.5 MB, free: 8.328 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000417/0.09643, allocations: 218.1 kB / 363.7 MB, free: 8.109 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001421/0.09786, allocations: 1.013 MB / 364.8 MB, free: 7.008 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003845/0.09826, allocations: 210.6 kB / 365 MB, free: 6.793 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.09829, allocations: 4.359 kB / 365 MB, free: 6.789 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.09832, allocations: 38.55 kB / 365 MB, free: 6.742 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.262e-06/0.09833, allocations: 0 / 365 MB, free: 6.742 MB / 302.1 MB Notification: Performance of matching and sorting (n=34): time 0.00451/0.1028, allocations: 1.51 MB / 366.5 MB, free: 5.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.1029, allocations: 55.41 kB / 366.6 MB, free: 5.094 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002013/0.1031, allocations: 229 kB / 366.8 MB, free: 4.859 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.1031, allocations: 29.7 kB / 366.8 MB, free: 4.824 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.1032, allocations: 184.2 kB / 367 MB, free: 4.641 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.644e-05/0.1033, allocations: 118.3 kB / 367.1 MB, free: 4.523 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.815e-05/0.1033, allocations: 15.94 kB / 367.1 MB, free: 4.508 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.1035, allocations: 330.8 kB / 367.5 MB, free: 4.176 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/0.1037, allocations: 111.9 kB / 367.6 MB, free: 4.066 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002488/0.1039, allocations: 164.5 kB / 367.7 MB, free: 3.891 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002398/0.1042, allocations: 117.6 kB / 367.8 MB, free: 3.777 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.1042, allocations: 7.953 kB / 367.8 MB, free: 3.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001466/0.1057, allocations: 0.5385 MB / 368.4 MB, free: 3.219 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.1057, allocations: 4 kB / 368.4 MB, free: 3.215 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.1057, allocations: 7.953 kB / 368.4 MB, free: 3.207 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001317/0.107, allocations: 249.4 kB / 368.6 MB, free: 2.957 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002543/0.1073, allocations: 55.97 kB / 368.7 MB, free: 2.902 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1715/0.2789, allocations: 3.799 MB / 372.5 MB, free: 17.87 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003029/0.2792, allocations: 10.47 kB / 372.5 MB, free: 17.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.791e-05/0.2792, allocations: 13.36 kB / 372.5 MB, free: 17.87 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (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.0001715/0.2794, allocations: 149.9 kB / 372.7 MB, free: 17.76 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.54e-05/0.2795, allocations: 25.34 kB / 372.7 MB, free: 17.76 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.826e-05/0.2796, allocations: 44.94 kB / 372.7 MB, free: 17.75 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.2796, allocations: 5.859 kB / 372.7 MB, free: 17.75 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.2796, allocations: 1.188 kB / 372.7 MB, free: 17.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.2796, allocations: 2.719 kB / 372.7 MB, free: 17.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004414/0.2801, allocations: 378 kB / 373.1 MB, free: 17.56 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.2801, allocations: 5.781 kB / 373.1 MB, free: 17.56 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002301/0.2803, allocations: 37.55 kB / 373.2 MB, free: 17.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00142/0.2817, allocations: 250.8 kB / 373.4 MB, free: 17.55 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.336e-05/0.2818, allocations: 12.44 kB / 373.4 MB, free: 17.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003804/0.2856, allocations: 3.684 MB / 377.1 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2856, allocations: 0 / 377.1 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001849/0.2875, allocations: 0.7214 MB / 377.8 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.715e-05/0.2875, allocations: 100.8 kB / 377.9 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.599e-05/0.2876, allocations: 5.344 kB / 377.9 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/0.2878, allocations: 14.02 kB / 377.9 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.2879, allocations: 31.98 kB / 378 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-05/0.288, allocations: 11.23 kB / 378 MB, free: 14.6 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001631/0.2881, allocations: 163.9 kB / 378.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2881, allocations: 3.219 kB / 378.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005803/0.2887, allocations: 105.4 kB / 378.2 MB, free: 14.48 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (coil.i) * 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: 1 {(1,100.0%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001187/0.2888, allocations: 104.3 kB / 378.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009/0.2897, allocations: 0.5468 MB / 378.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2898, allocations: 0 / 378.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004762/0.2902, allocations: 443.5 kB / 379.3 MB, free: 13.73 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.2905, allocations: 15.41 kB / 379.3 MB, free: 13.72 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.2917, allocations: 0.8261 MB / 380.2 MB, free: 13.25 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002099/0.2919, allocations: 0.7908 MB / 381 MB, free: 12.55 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.666e-05/0.292, allocations: 18.95 kB / 381 MB, free: 12.54 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.13e-05/0.292, allocations: 19.91 kB / 381 MB, free: 12.53 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.292, allocations: 3.938 kB / 381 MB, free: 12.53 MB / 302.1 MB Notification: Performance of Templates: time 0.009621/0.3017, allocations: 5.095 MB / 386.1 MB, free: 11.91 MB / 302.1 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