Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 110.6 kB / 17.73 MB, free: 5.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 194.9 kB / 18.67 MB, free: 4.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 205.1 MB / 224.5 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 47.94 kB / 328.5 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08888/0.09007, allocations: 46.61 MB / 375.1 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.003849/0.09396, allocations: 2.676 MB / 377.8 MB, free: 1.906 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.09532, allocations: 0.9041 MB / 378.7 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.09545, allocations: 4 kB / 378.7 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002329/0.0957, allocations: 63.45 kB / 378.8 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002694/0.09598, allocations: 107.2 kB / 378.9 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/0.09622, allocations: 91.83 kB / 379 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003344/0.09657, allocations: 358.6 kB / 379.3 MB, free: 388 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001989/0.09677, allocations: 113.7 kB / 379.4 MB, free: 272 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001684/0.09695, allocations: 135.5 kB / 379.6 MB, free: 136 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1936/0.2905, allocations: 141.3 kB / 379.7 MB, free: 10.04 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001966/0.2908, allocations: 29.94 kB / 379.7 MB, free: 10.04 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.2909, allocations: 28.78 kB / 379.8 MB, free: 10.04 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.613e-05/0.291, allocations: 70 kB / 379.8 MB, free: 10.04 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002527/0.2913, allocations: 153.5 kB / 380 MB, free: 10.04 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006893/0.292, allocations: 361.5 kB / 380.3 MB, free: 9.98 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.292, allocations: 1.125 kB / 380.3 MB, free: 9.98 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.292, allocations: 0 / 380.3 MB, free: 9.98 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.839e-06/0.292, allocations: 1.375 kB / 380.3 MB, free: 9.98 MB / 318.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.001168/0.2932, allocations: 0.609 MB / 380.9 MB, free: 9.527 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.64e-05/0.2932, allocations: 17.33 kB / 381 MB, free: 9.52 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.467e-05/0.2933, allocations: 38.06 kB / 381 MB, free: 9.5 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004013/0.2937, allocations: 254 kB / 381.2 MB, free: 9.281 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.2938, allocations: 18.59 kB / 381.3 MB, free: 9.281 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.669e-05/0.2938, allocations: 28.12 kB / 381.3 MB, free: 9.281 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004822/0.2943, allocations: 249.8 kB / 381.5 MB, free: 9.246 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.2943, allocations: 5.375 kB / 381.5 MB, free: 9.242 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.728e-05/0.2944, allocations: 13.5 kB / 381.5 MB, free: 9.242 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.2944, allocations: 6.875 kB / 381.6 MB, free: 9.242 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004285/0.2948, allocations: 210.9 kB / 381.8 MB, free: 9.238 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001622/0.2965, allocations: 1.007 MB / 382.8 MB, free: 8.723 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005197/0.297, allocations: 201.3 kB / 383 MB, free: 8.699 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003012/0.2973, allocations: 114 kB / 383.1 MB, free: 8.691 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.594e-05/0.2973, allocations: 3.219 kB / 383.1 MB, free: 8.691 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.2974, allocations: 35.31 kB / 383.1 MB, free: 8.652 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.302e-06/0.2974, allocations: 0 / 383.1 MB, free: 8.652 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.004942/0.3023, allocations: 1.541 MB / 384.6 MB, free: 8.18 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.3024, allocations: 58.75 kB / 384.7 MB, free: 8.113 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002434/0.3026, allocations: 235.2 kB / 384.9 MB, free: 8.004 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.3027, allocations: 37.17 kB / 385 MB, free: 7.969 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.87e-05/0.3028, allocations: 183.5 kB / 385.2 MB, free: 7.84 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.344e-05/0.3029, allocations: 127.1 kB / 385.3 MB, free: 7.758 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.303, allocations: 66.45 kB / 385.3 MB, free: 7.738 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.179e-05/0.3031, allocations: 336.3 kB / 385.7 MB, free: 7.418 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002357/0.3033, allocations: 108.5 kB / 385.8 MB, free: 7.379 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002607/0.3036, allocations: 161.9 kB / 385.9 MB, free: 7.289 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004622/0.304, allocations: 277.9 kB / 386.2 MB, free: 7.141 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3041, allocations: 4 kB / 386.2 MB, free: 7.137 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001493/0.3056, allocations: 0.5357 MB / 386.7 MB, free: 6.922 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.3056, allocations: 8.562 kB / 386.8 MB, free: 6.922 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.3056, allocations: 1.031 kB / 386.8 MB, free: 6.922 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001245/0.3068, allocations: 243 kB / 387 MB, free: 6.863 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002813/0.3071, allocations: 56.33 kB / 387 MB, free: 6.863 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00409/0.3112, allocations: 4.148 MB / 391.2 MB, free: 3.262 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002286/0.3115, allocations: 14.11 kB / 391.2 MB, free: 3.254 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.938e-05/0.3115, allocations: 14.42 kB / 391.2 MB, free: 3.25 MB / 318.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001559/0.3117, allocations: 148.9 kB / 391.4 MB, free: 3.113 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.936e-05/0.3118, allocations: 31.66 kB / 391.4 MB, free: 3.094 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.49e-05/0.3118, allocations: 39.86 kB / 391.4 MB, free: 3.066 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.3119, allocations: 4.344 kB / 391.4 MB, free: 3.066 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.3119, allocations: 1.094 kB / 391.4 MB, free: 3.066 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.3119, allocations: 3.797 kB / 391.4 MB, free: 3.066 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002014/0.3139, allocations: 0.98 MB / 392.4 MB, free: 2.496 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.758e-06/0.3139, allocations: 1.094 kB / 392.4 MB, free: 2.496 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002094/0.3141, allocations: 45.83 kB / 392.5 MB, free: 2.492 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001148/0.3153, allocations: 244 kB / 392.7 MB, free: 2.434 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.452e-05/0.3153, allocations: 6.109 kB / 392.7 MB, free: 2.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004278/0.3196, allocations: 4.131 MB / 396.8 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3196, allocations: 0.9375 kB / 396.8 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001815/0.3214, allocations: 0.7292 MB / 397.6 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.65e-05/0.3215, allocations: 106.2 kB / 397.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.935e-05/0.3216, allocations: 10.97 kB / 397.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.3218, allocations: 11.97 kB / 397.7 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.916e-05/0.3219, allocations: 33 kB / 397.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-05/0.3219, allocations: 10.56 kB / 397.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001883/0.3221, allocations: 165.1 kB / 397.9 MB, free: 14.22 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3221, allocations: 0 / 397.9 MB, free: 14.22 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006394/0.3228, allocations: 107.3 kB / 398 MB, free: 14.2 MB / 334.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000182/0.323, allocations: 105.8 kB / 398.1 MB, free: 14.1 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001109/0.3241, allocations: 0.5778 MB / 398.7 MB, free: 13.73 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.3241, allocations: 0 / 398.7 MB, free: 13.73 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006024/0.3247, allocations: 433.9 kB / 399.1 MB, free: 13.43 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.3251, allocations: 26.92 kB / 399.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.3264, allocations: 0.6983 MB / 399.8 MB, free: 13.01 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.3268, allocations: 0.7775 MB / 400.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.441e-05/0.3269, allocations: 16.53 kB / 400.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.316e-05/0.327, allocations: 19.38 kB / 400.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of SimCode: time 8.92e-07/0.327, allocations: 4 kB / 400.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of Templates: time 0.01209/0.3391, allocations: 5.493 MB / 406.2 MB, free: 10.93 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches