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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001789/0.001789, allocations: 89.17 kB / 21.99 MB, free: 5.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002056/0.002056, allocations: 166.3 kB / 25.25 MB, free: 3.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.31/1.31, allocations: 158.6 MB / 187 MB, free: 6.238 MB / 174.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|coil.Phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001804/0.001804, allocations: 55.92 kB / 299.3 MB, free: 6.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2046, allocations: 49.14 MB / 348.5 MB, free: 15.53 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.004092/0.2087, allocations: 2.518 MB / 351 MB, free: 13 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001439/0.2101, allocations: 0.8536 MB / 351.9 MB, free: 12.14 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.2103, allocations: 4 kB / 351.9 MB, free: 12.14 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002437/0.2105, allocations: 63.44 kB / 351.9 MB, free: 12.07 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002754/0.2108, allocations: 107.2 kB / 352 MB, free: 11.97 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002686/0.2111, allocations: 99.83 kB / 352.1 MB, free: 11.87 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004395/0.2115, allocations: 350.6 kB / 352.5 MB, free: 11.53 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002243/0.2117, allocations: 73.84 kB / 352.5 MB, free: 11.46 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002273/0.2119, allocations: 143.5 kB / 352.7 MB, free: 11.32 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002513/0.2122, allocations: 139.2 kB / 352.8 MB, free: 11.18 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.47e-05/0.2122, allocations: 28 kB / 352.8 MB, free: 11.15 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.548e-05/0.2123, allocations: 28 kB / 352.9 MB, free: 11.12 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.187e-05/0.2124, allocations: 75.75 kB / 352.9 MB, free: 11.05 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001491/0.2125, allocations: 123.5 kB / 353.1 MB, free: 10.93 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000446/0.213, allocations: 364.9 kB / 353.4 MB, free: 10.58 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.213, allocations: 0 / 353.4 MB, free: 10.58 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.213, allocations: 0 / 353.4 MB, free: 10.58 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.357e-05/0.213, allocations: 0 / 353.4 MB, free: 10.58 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.001106/0.2141, allocations: 0.5326 MB / 354 MB, free: 10.01 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.2142, allocations: 15.92 kB / 354 MB, free: 9.996 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.357e-05/0.2142, allocations: 36.7 kB / 354 MB, free: 9.961 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003789/0.2146, allocations: 210.3 kB / 354.2 MB, free: 9.73 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.144e-05/0.2146, allocations: 17.03 kB / 354.2 MB, free: 9.715 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.74e-05/0.2147, allocations: 28.38 kB / 354.3 MB, free: 9.688 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005384/0.2152, allocations: 280.1 kB / 354.5 MB, free: 9.402 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.2153, allocations: 0 / 354.5 MB, free: 9.402 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/0.2153, allocations: 15.94 kB / 354.5 MB, free: 9.387 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.2153, allocations: 8 kB / 354.6 MB, free: 9.379 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004608/0.2158, allocations: 214.5 kB / 354.8 MB, free: 9.168 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001474/0.2172, allocations: 0.7976 MB / 355.6 MB, free: 8.312 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004321/0.2177, allocations: 202.5 kB / 355.8 MB, free: 8.105 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002623/0.2179, allocations: 96.81 kB / 355.9 MB, free: 8.008 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.507e-05/0.218, allocations: 11.98 kB / 355.9 MB, free: 7.996 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.218, allocations: 30.56 kB / 355.9 MB, free: 7.957 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.403e-06/0.218, allocations: 0 / 355.9 MB, free: 7.957 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.0051/0.2231, allocations: 1.387 MB / 357.3 MB, free: 6.527 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.2231, allocations: 55.41 kB / 357.3 MB, free: 6.461 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002487/0.2234, allocations: 232 kB / 357.6 MB, free: 6.223 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/0.2234, allocations: 37.7 kB / 357.6 MB, free: 6.18 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.2235, allocations: 180.5 kB / 357.8 MB, free: 6 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.2236, allocations: 126.9 kB / 357.9 MB, free: 5.875 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.2238, allocations: 66.03 kB / 358 MB, free: 5.805 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.2239, allocations: 334.8 kB / 358.3 MB, free: 5.469 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002525/0.2242, allocations: 108.7 kB / 358.4 MB, free: 5.363 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002856/0.2245, allocations: 161.7 kB / 358.6 MB, free: 5.191 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005362/0.225, allocations: 280 kB / 358.8 MB, free: 4.902 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.225, allocations: 0 / 358.8 MB, free: 4.902 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001597/0.2266, allocations: 0.5294 MB / 359.4 MB, free: 4.359 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.2266, allocations: 8 kB / 359.4 MB, free: 4.352 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.2266, allocations: 0 / 359.4 MB, free: 4.352 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001256/0.2279, allocations: 245.4 kB / 359.6 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002705/0.2281, allocations: 55.91 kB / 359.7 MB, free: 4.051 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00497/0.2331, allocations: 3.857 MB / 363.5 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002168/0.2333, allocations: 12.03 kB / 363.5 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.724e-05/0.2334, allocations: 12 kB / 363.5 MB, free: 15.96 MB / 334.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.0001652/0.2335, allocations: 153.8 kB / 363.7 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.422e-05/0.2336, allocations: 28.08 kB / 363.7 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.037e-05/0.2337, allocations: 38.66 kB / 363.8 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.2337, allocations: 7.984 kB / 363.8 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.2337, allocations: 7.938 kB / 363.8 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.2337, allocations: 3.984 kB / 363.8 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002045/0.2357, allocations: 0.8398 MB / 364.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.2357, allocations: 7.984 kB / 364.6 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000216/0.236, allocations: 47.98 kB / 364.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001187/0.2371, allocations: 241.4 kB / 364.9 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.349e-05/0.2372, allocations: 8 kB / 364.9 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004602/0.2418, allocations: 3.831 MB / 368.7 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2418, allocations: 4.031 kB / 368.7 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001833/0.2436, allocations: 0.7247 MB / 369.5 MB, free: 9.742 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.209e-05/0.2437, allocations: 28.11 kB / 369.5 MB, free: 9.715 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.325e-05/0.2437, allocations: 12.06 kB / 369.5 MB, free: 9.703 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/0.2439, allocations: 8 kB / 369.5 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.069e-05/0.244, allocations: 35.88 kB / 369.6 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.309e-05/0.244, allocations: 15.94 kB / 369.6 MB, free: 9.645 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001503/0.2442, allocations: 165 kB / 369.7 MB, free: 9.484 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2442, allocations: 0 / 369.7 MB, free: 9.484 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005596/0.2447, allocations: 100 kB / 369.8 MB, free: 9.387 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.0001199/0.2448, allocations: 111.1 kB / 369.9 MB, free: 9.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009792/0.2458, allocations: 0.5593 MB / 370.5 MB, free: 8.684 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2458, allocations: 0 / 370.5 MB, free: 8.684 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000591/0.2464, allocations: 417.5 kB / 370.9 MB, free: 8.25 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.2467, allocations: 20.73 kB / 370.9 MB, free: 8.23 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.248, allocations: 0.6925 MB / 371.6 MB, free: 7.5 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001629/0.2481, allocations: 172.3 kB / 371.8 MB, free: 7.309 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.755e-05/0.2482, allocations: 26.28 kB / 371.8 MB, free: 7.285 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.8e-05/0.2483, allocations: 16.5 kB / 371.8 MB, free: 7.266 MB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2483, allocations: 0 / 371.8 MB, free: 7.266 MB / 334.1 MB Notification: Performance of Templates: time 0.01033/0.2586, allocations: 5.667 MB / 377.5 MB, free: 1.574 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.542654768913053]