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.001715/0.001715, allocations: 180.1 kB / 16.41 MB, free: 5.707 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.343/1.343, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.0006986/0.0006987, allocations: 94.61 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000284/0.000284, allocations: 12 kB / 327 MB, free: 204 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.205, allocations: 47.57 MB / 374.6 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.002188/0.2072, allocations: 2.253 MB / 376.8 MB, free: 43.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009919/0.2082, allocations: 0.8115 MB / 377.6 MB, free: 43.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.2083, allocations: 4.25 kB / 377.6 MB, free: 43.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001631/0.2085, allocations: 41.14 kB / 377.7 MB, free: 42.99 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002302/0.2087, allocations: 97.83 kB / 377.8 MB, free: 42.91 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000176/0.2089, allocations: 62.89 kB / 377.8 MB, free: 42.86 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002542/0.2092, allocations: 318.9 kB / 378.1 MB, free: 42.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.2094, allocations: 85.27 kB / 378.2 MB, free: 42.63 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.2095, allocations: 116 kB / 378.3 MB, free: 42.57 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.2097, allocations: 132.5 kB / 378.5 MB, free: 42.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.773e-05/0.2097, allocations: 19.62 kB / 378.5 MB, free: 42.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.415e-05/0.2098, allocations: 15.59 kB / 378.5 MB, free: 42.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.306e-05/0.2098, allocations: 51.89 kB / 378.5 MB, free: 42.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.851e-05/0.2098, allocations: 75.67 kB / 378.6 MB, free: 42.38 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002199/0.2101, allocations: 264.1 kB / 378.9 MB, free: 42.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2101, allocations: 0 / 378.9 MB, free: 42.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2101, allocations: 1.344 kB / 378.9 MB, free: 42.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.2101, allocations: 0 / 378.9 MB, free: 42.18 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.0008051/0.2109, allocations: 0.5535 MB / 379.4 MB, free: 41.68 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.211, allocations: 8.938 kB / 379.4 MB, free: 41.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.4e-05/0.211, allocations: 36.36 kB / 379.5 MB, free: 41.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.2113, allocations: 255.6 kB / 379.7 MB, free: 41.4 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.2113, allocations: 27.17 kB / 379.7 MB, free: 41.38 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.51e-05/0.2113, allocations: 25.38 kB / 379.8 MB, free: 41.38 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004547/0.2118, allocations: 254.9 kB / 380 MB, free: 41.21 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.2118, allocations: 3.938 kB / 380 MB, free: 41.21 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.713e-05/0.2119, allocations: 10.31 kB / 380 MB, free: 41.2 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.2119, allocations: 7.469 kB / 380 MB, free: 41.2 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004356/0.2123, allocations: 220.2 kB / 380.3 MB, free: 41.11 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001354/0.2137, allocations: 1.008 MB / 381.3 MB, free: 40.23 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004499/0.2141, allocations: 213 kB / 381.5 MB, free: 40.12 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002395/0.2144, allocations: 108.9 kB / 381.6 MB, free: 40.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.2144, allocations: 6.5 kB / 381.6 MB, free: 40.07 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.2145, allocations: 39.67 kB / 381.6 MB, free: 40.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 1.382e-06/0.2145, allocations: 0 / 381.6 MB, free: 40.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.005012/0.2195, allocations: 1.551 MB / 383.2 MB, free: 39.04 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.522e-05/0.2195, allocations: 55.47 kB / 383.2 MB, free: 38.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.2197, allocations: 227.1 kB / 383.4 MB, free: 38.81 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.2198, allocations: 31.52 kB / 383.5 MB, free: 38.78 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.903e-05/0.2198, allocations: 178.8 kB / 383.7 MB, free: 38.61 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.052e-05/0.2199, allocations: 125 kB / 383.8 MB, free: 38.5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.743e-05/0.2199, allocations: 13.06 kB / 383.8 MB, free: 38.49 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.956e-05/0.22, allocations: 341.2 kB / 384.1 MB, free: 38.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002351/0.2202, allocations: 105.2 kB / 384.2 MB, free: 38.11 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002482/0.2205, allocations: 164 kB / 384.4 MB, free: 38 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002565/0.2207, allocations: 131.8 kB / 384.5 MB, free: 37.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2208, allocations: 1.031 kB / 384.5 MB, free: 37.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001586/0.2223, allocations: 0.5409 MB / 385.1 MB, free: 37.62 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.2224, allocations: 5.531 kB / 385.1 MB, free: 37.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.2224, allocations: 0.9375 kB / 385.1 MB, free: 37.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001453/0.2238, allocations: 254.7 kB / 385.3 MB, free: 37.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002719/0.2241, allocations: 57.38 kB / 385.4 MB, free: 37.49 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003664/0.2278, allocations: 3.744 MB / 389.1 MB, free: 33.65 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002613/0.2281, allocations: 11.98 kB / 389.1 MB, free: 33.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/0.2281, allocations: 12 kB / 389.1 MB, free: 33.62 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.0001364/0.2283, allocations: 154.5 kB / 389.3 MB, free: 33.46 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.881e-05/0.2283, allocations: 23.72 kB / 389.3 MB, free: 33.44 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.141e-05/0.2284, allocations: 38.95 kB / 389.3 MB, free: 33.4 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.2284, allocations: 8 kB / 389.4 MB, free: 33.39 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.2284, allocations: 7.953 kB / 389.4 MB, free: 33.39 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.2284, allocations: 0 / 389.4 MB, free: 33.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001923/0.2304, allocations: 0.9884 MB / 390.4 MB, free: 32.33 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.2304, allocations: 288 / 390.4 MB, free: 32.33 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001985/0.2306, allocations: 43.91 kB / 390.4 MB, free: 32.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00135/0.2319, allocations: 257.5 kB / 390.6 MB, free: 32.03 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.172e-05/0.232, allocations: 8 kB / 390.7 MB, free: 32.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003332/0.2353, allocations: 3.732 MB / 394.4 MB, free: 28.02 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.2353, allocations: 0 / 394.4 MB, free: 28.02 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001642/0.237, allocations: 0.7371 MB / 395.1 MB, free: 27.26 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.409e-05/0.237, allocations: 100.8 kB / 395.2 MB, free: 27.14 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.193e-05/0.2371, allocations: 8 kB / 395.2 MB, free: 27.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002283/0.2373, allocations: 16 kB / 395.2 MB, free: 27.12 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.222e-05/0.2374, allocations: 36 kB / 395.3 MB, free: 27.08 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.2374, allocations: 15.98 kB / 395.3 MB, free: 27.07 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001145/0.2375, allocations: 160.5 kB / 395.5 MB, free: 26.91 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2376, allocations: 0 / 395.5 MB, free: 26.91 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005956/0.2382, allocations: 104 kB / 395.6 MB, free: 26.81 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.0001191/0.2383, allocations: 99.19 kB / 395.7 MB, free: 26.7 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008539/0.2391, allocations: 0.5788 MB / 396.2 MB, free: 26.09 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2392, allocations: 288 / 396.2 MB, free: 26.09 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004582/0.2396, allocations: 441.4 kB / 396.7 MB, free: 25.64 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.24, allocations: 24.38 kB / 396.7 MB, free: 25.61 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.241, allocations: 0.8708 MB / 397.6 MB, free: 24.7 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001693/0.2412, allocations: 0.776 MB / 398.3 MB, free: 23.9 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.958e-05/0.2413, allocations: 31.42 kB / 398.4 MB, free: 23.87 MB / 298.7 MB Notification: Performance of SimCode: time 3.41e-07/0.2413, allocations: 0 / 398.4 MB, free: 23.87 MB / 298.7 MB Notification: Performance of Templates: time 0.005996/0.2473, allocations: 5.957 MB / 404.3 MB, free: 17.9 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