Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001658/0.001659, allocations: 175.3 kB / 16.72 MB, free: 4.957 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.391/1.391, allocations: 205.4 MB / 222.9 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007682/0.0007685, allocations: 95.72 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003496/0.0003496, allocations: 11.98 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2443, allocations: 47.57 MB / 375.1 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.002588/0.2469, allocations: 2.261 MB / 377.3 MB, free: 43.64 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.2483, allocations: 0.8088 MB / 378.2 MB, free: 42.99 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001554/0.2485, allocations: 4.562 kB / 378.2 MB, free: 42.99 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002124/0.2487, allocations: 44.94 kB / 378.2 MB, free: 42.96 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002737/0.249, allocations: 89.31 kB / 378.3 MB, free: 42.89 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002096/0.2492, allocations: 76.02 kB / 378.4 MB, free: 42.82 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002962/0.2495, allocations: 314.7 kB / 378.7 MB, free: 42.64 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002138/0.2497, allocations: 94.36 kB / 378.8 MB, free: 42.59 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001918/0.2499, allocations: 123.8 kB / 378.9 MB, free: 42.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001863/0.2501, allocations: 132.6 kB / 379 MB, free: 42.43 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.429e-05/0.2502, allocations: 14.88 kB / 379 MB, free: 42.43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.145e-05/0.2502, allocations: 16.03 kB / 379 MB, free: 42.43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.777e-05/0.2503, allocations: 51.3 kB / 379.1 MB, free: 42.39 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.2504, allocations: 154.8 kB / 379.2 MB, free: 42.27 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002107/0.2506, allocations: 263.7 kB / 379.5 MB, free: 42.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.2507, allocations: 0 / 379.5 MB, free: 42.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2507, allocations: 0 / 379.5 MB, free: 42.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.2507, allocations: 1.219 kB / 379.5 MB, free: 42.07 MB / 298.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.0008557/0.2515, allocations: 0.5615 MB / 380.1 MB, free: 41.57 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.2516, allocations: 13.62 kB / 380.1 MB, free: 41.56 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.202e-05/0.2517, allocations: 33.22 kB / 380.1 MB, free: 41.55 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.2519, allocations: 261 kB / 380.4 MB, free: 41.28 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.252, allocations: 23.38 kB / 380.4 MB, free: 41.26 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.028e-05/0.252, allocations: 25.38 kB / 380.4 MB, free: 41.25 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004669/0.2525, allocations: 251.9 kB / 380.7 MB, free: 41.1 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.2525, allocations: 0 / 380.7 MB, free: 41.1 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.92e-05/0.2526, allocations: 10.56 kB / 380.7 MB, free: 41.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.2526, allocations: 11 kB / 380.7 MB, free: 41.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004409/0.253, allocations: 219.5 kB / 380.9 MB, free: 40.99 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001397/0.2544, allocations: 1.004 MB / 381.9 MB, free: 40.12 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004275/0.2549, allocations: 214.2 kB / 382.1 MB, free: 40.01 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002358/0.2551, allocations: 112 kB / 382.2 MB, free: 39.96 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.862e-05/0.2552, allocations: 11.05 kB / 382.2 MB, free: 39.95 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.2552, allocations: 36.06 kB / 382.3 MB, free: 39.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 1.633e-06/0.2552, allocations: 0 / 382.3 MB, free: 39.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.004731/0.2599, allocations: 1.554 MB / 383.8 MB, free: 38.93 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.26, allocations: 58.28 kB / 383.9 MB, free: 38.86 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.2602, allocations: 228.2 kB / 384.1 MB, free: 38.7 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.2602, allocations: 30.89 kB / 384.1 MB, free: 38.66 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.427e-05/0.2603, allocations: 178.8 kB / 384.3 MB, free: 38.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.73e-05/0.2604, allocations: 120.4 kB / 384.4 MB, free: 38.39 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.99e-05/0.2604, allocations: 10.09 kB / 384.4 MB, free: 38.38 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.44e-05/0.2605, allocations: 332.9 kB / 384.8 MB, free: 38.05 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002298/0.2607, allocations: 112 kB / 384.9 MB, free: 38 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002512/0.261, allocations: 160.5 kB / 385 MB, free: 37.89 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005033/0.2615, allocations: 292.5 kB / 385.3 MB, free: 37.71 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.2615, allocations: 1.094 kB / 385.3 MB, free: 37.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001589/0.2631, allocations: 0.5403 MB / 385.8 MB, free: 37.41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.2631, allocations: 10.33 kB / 385.9 MB, free: 37.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.2632, allocations: 1.125 kB / 385.9 MB, free: 37.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001407/0.2646, allocations: 262 kB / 386.1 MB, free: 37.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002666/0.2648, allocations: 62.62 kB / 386.2 MB, free: 37.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003749/0.2686, allocations: 3.736 MB / 389.9 MB, free: 33.22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002449/0.2689, allocations: 12.03 kB / 389.9 MB, free: 33.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/0.2689, allocations: 15.98 kB / 389.9 MB, free: 33.2 MB / 298.7 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.0001577/0.2691, allocations: 150.8 kB / 390.1 MB, free: 33.04 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.202e-05/0.2691, allocations: 27.72 kB / 390.1 MB, free: 33.01 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.425e-05/0.2692, allocations: 42.95 kB / 390.2 MB, free: 32.97 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.2692, allocations: 11.88 kB / 390.2 MB, free: 32.96 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/0.2692, allocations: 0 / 390.2 MB, free: 32.96 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.2692, allocations: 4 kB / 390.2 MB, free: 32.95 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001859/0.2711, allocations: 0.9959 MB / 391.2 MB, free: 31.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.2711, allocations: 0 / 391.2 MB, free: 31.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001981/0.2713, allocations: 39.97 kB / 391.2 MB, free: 31.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001278/0.2726, allocations: 265.4 kB / 391.5 MB, free: 31.59 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.2727, allocations: 4 kB / 391.5 MB, free: 31.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00336/0.276, allocations: 3.729 MB / 395.2 MB, free: 27.59 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.276, allocations: 4.031 kB / 395.2 MB, free: 27.58 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001586/0.2776, allocations: 0.725 MB / 395.9 MB, free: 26.83 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.627e-05/0.2777, allocations: 100.8 kB / 396 MB, free: 26.71 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.386e-05/0.2777, allocations: 19.88 kB / 396 MB, free: 26.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/0.278, allocations: 16 kB / 396.1 MB, free: 26.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.992e-05/0.2781, allocations: 32.3 kB / 396.1 MB, free: 26.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/0.2781, allocations: 11.98 kB / 396.1 MB, free: 26.63 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001232/0.2782, allocations: 164.5 kB / 396.3 MB, free: 26.47 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2782, allocations: 3.938 kB / 396.3 MB, free: 26.47 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006018/0.2788, allocations: 100 kB / 396.4 MB, free: 26.37 MB / 298.7 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.0001314/0.279, allocations: 95.25 kB / 396.5 MB, free: 26.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008607/0.2798, allocations: 0.5711 MB / 397 MB, free: 25.67 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2799, allocations: 0 / 397 MB, free: 25.67 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004427/0.2803, allocations: 433.3 kB / 397.5 MB, free: 25.22 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.2807, allocations: 28.38 kB / 397.5 MB, free: 25.19 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.2817, allocations: 0.8738 MB / 398.4 MB, free: 24.28 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001856/0.2819, allocations: 0.7799 MB / 399.1 MB, free: 23.47 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.448e-05/0.282, allocations: 23.42 kB / 399.2 MB, free: 23.45 MB / 298.7 MB Notification: Performance of SimCode: time 4.2e-07/0.282, allocations: 0 / 399.2 MB, free: 23.45 MB / 298.7 MB Notification: Performance of Templates: time 0.006119/0.2881, allocations: 5.954 MB / 405.1 MB, free: 17.49 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/SaturatedInductor/SaturatedInductor.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches