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.000992/0.0009921, allocations: 98.78 kB / 17.01 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001284/0.001284, allocations: 200.5 kB / 17.91 MB, free: 5.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.7 MB / 246.4 MB, free: 11.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002143/0.0002143, allocations: 11.98 kB / 307.1 MB, free: 1.172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09203/0.09226, allocations: 51.52 MB / 358.6 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.0027/0.09501, allocations: 2.346 MB / 361 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.09631, allocations: 0.8574 MB / 361.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.09645, allocations: 4 kB / 361.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001792/0.09663, allocations: 43.62 kB / 361.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002649/0.09691, allocations: 87.38 kB / 362 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002461/0.09716, allocations: 83.89 kB / 362.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00031/0.09748, allocations: 326.7 kB / 362.4 MB, free: 9.895 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.09765, allocations: 85.59 kB / 362.5 MB, free: 9.812 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001825/0.09784, allocations: 119.5 kB / 362.6 MB, free: 9.695 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001693/0.09802, allocations: 131.4 kB / 362.7 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.263e-05/0.09806, allocations: 16 kB / 362.7 MB, free: 9.551 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.363e-05/0.09813, allocations: 16 kB / 362.7 MB, free: 9.535 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.517e-05/0.09818, allocations: 51.77 kB / 362.8 MB, free: 9.484 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.593e-05/0.09824, allocations: 77.58 kB / 362.9 MB, free: 9.402 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002448/0.0985, allocations: 271.5 kB / 363.1 MB, free: 9.137 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.09851, allocations: 0 / 363.1 MB, free: 9.137 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.09852, allocations: 0 / 363.1 MB, free: 9.137 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.09853, allocations: 4 kB / 363.1 MB, free: 9.133 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.0008282/0.09936, allocations: 0.5651 MB / 363.7 MB, free: 8.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.09941, allocations: 8.031 kB / 363.7 MB, free: 8.512 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001596/0.09957, allocations: 43.61 kB / 363.7 MB, free: 8.469 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.09985, allocations: 255.5 kB / 364 MB, free: 8.176 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.09988, allocations: 20.56 kB / 364 MB, free: 8.156 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.154e-05/0.09993, allocations: 24 kB / 364 MB, free: 8.133 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000471/0.1004, allocations: 260.8 kB / 364.3 MB, free: 7.875 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.1004, allocations: 0 / 364.3 MB, free: 7.875 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.736e-05/0.1005, allocations: 8 kB / 364.3 MB, free: 7.867 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.1005, allocations: 8 kB / 364.3 MB, free: 7.859 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004376/0.1009, allocations: 218.1 kB / 364.5 MB, free: 7.645 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.1024, allocations: 1.017 MB / 365.5 MB, free: 6.539 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003957/0.1028, allocations: 206.4 kB / 365.7 MB, free: 6.328 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002382/0.103, allocations: 121.2 kB / 365.9 MB, free: 6.207 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.23e-05/0.1031, allocations: 7.812 kB / 365.9 MB, free: 6.199 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.1031, allocations: 34.56 kB / 365.9 MB, free: 6.156 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.372e-06/0.1031, allocations: 0 / 365.9 MB, free: 6.156 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.004718/0.1078, allocations: 1.548 MB / 367.5 MB, free: 4.531 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/0.1079, allocations: 55.41 kB / 367.5 MB, free: 4.465 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/0.1081, allocations: 236.9 kB / 367.7 MB, free: 4.223 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.1081, allocations: 29.7 kB / 367.8 MB, free: 4.188 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.1082, allocations: 192.1 kB / 368 MB, free: 3.996 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.741e-05/0.1083, allocations: 114.4 kB / 368.1 MB, free: 3.883 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.763e-05/0.1084, allocations: 4 kB / 368.1 MB, free: 3.879 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.1085, allocations: 338.8 kB / 368.4 MB, free: 3.539 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002326/0.1087, allocations: 108.7 kB / 368.5 MB, free: 3.43 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002593/0.109, allocations: 165.5 kB / 368.7 MB, free: 3.254 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002643/0.1093, allocations: 135.5 kB / 368.8 MB, free: 3.121 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1093, allocations: 4 kB / 368.8 MB, free: 3.117 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001489/0.1108, allocations: 0.5296 MB / 369.3 MB, free: 2.574 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.1108, allocations: 7.953 kB / 369.3 MB, free: 2.566 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.1108, allocations: 0 / 369.3 MB, free: 2.566 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00133/0.1121, allocations: 261.4 kB / 369.6 MB, free: 2.305 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002764/0.1124, allocations: 55.91 kB / 369.7 MB, free: 2.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1689/0.2813, allocations: 3.74 MB / 373.4 MB, free: 17.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002618/0.2816, allocations: 11.06 kB / 373.4 MB, free: 17.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.702e-05/0.2817, allocations: 13.8 kB / 373.4 MB, free: 17.58 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 (29): * Single equations (assignments): 27 * 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.0001522/0.2818, allocations: 158.6 kB / 373.6 MB, free: 17.47 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.321e-05/0.2819, allocations: 29.41 kB / 373.6 MB, free: 17.47 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.605e-05/0.282, allocations: 41.97 kB / 373.6 MB, free: 17.46 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.282, allocations: 4.734 kB / 373.6 MB, free: 17.46 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/0.282, allocations: 2.703 kB / 373.6 MB, free: 17.46 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.282, allocations: 1.312 kB / 373.6 MB, free: 17.46 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00217/0.2842, allocations: 0.9874 MB / 374.6 MB, free: 17.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.2842, allocations: 1.25 kB / 374.6 MB, free: 17.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002354/0.2845, allocations: 43.05 kB / 374.7 MB, free: 17.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00133/0.2858, allocations: 253.9 kB / 374.9 MB, free: 17.1 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.371e-05/0.2858, allocations: 6.688 kB / 374.9 MB, free: 17.1 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003683/0.2895, allocations: 3.742 MB / 378.7 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.2895, allocations: 1.375 kB / 378.7 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001627/0.2912, allocations: 0.7238 MB / 379.4 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.074e-05/0.2912, allocations: 106 kB / 379.5 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.546e-05/0.2913, allocations: 7.328 kB / 379.5 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002134/0.2915, allocations: 21.72 kB / 379.5 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.735e-05/0.2916, allocations: 28.88 kB / 379.6 MB, free: 13.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.2916, allocations: 8.703 kB / 379.6 MB, free: 13.65 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001373/0.2918, allocations: 169.6 kB / 379.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of sort global known variables: time 6.91e-07/0.2918, allocations: 0 / 379.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006271/0.2924, allocations: 108.1 kB / 379.8 MB, free: 13.53 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (19): * Single equations (assignments): 17 * 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.0001148/0.2925, allocations: 109.5 kB / 379.9 MB, free: 13.43 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000837/0.2934, allocations: 0.5625 MB / 380.5 MB, free: 13.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2934, allocations: 0 / 380.5 MB, free: 13.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004767/0.2939, allocations: 435.5 kB / 380.9 MB, free: 12.78 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.2942, allocations: 35.48 kB / 381 MB, free: 12.76 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.2954, allocations: 0.8589 MB / 381.8 MB, free: 12.25 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000209/0.2956, allocations: 0.7811 MB / 382.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001046/0.2957, allocations: 23.95 kB / 382.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.137e-05/0.2958, allocations: 18.88 kB / 382.7 MB, free: 11.53 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2958, allocations: 0 / 382.7 MB, free: 11.53 MB / 302.1 MB Notification: Performance of Templates: time 0.009135/0.3049, allocations: 5.113 MB / 387.8 MB, free: 10.72 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches