Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.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.001828/0.001828, allocations: 83.7 kB / 21.99 MB, free: 5.18 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.002141/0.002141, allocations: 161.8 kB / 25.25 MB, free: 3.023 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.587/1.587, allocations: 158.6 MB / 187 MB, free: 6.242 MB / 174.1 MB " [Timeout remaining time 178] 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.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=628,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=628,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") [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.00182/0.00182, allocations: 55.92 kB / 299.4 MB, free: 6.84 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.221, allocations: 49.14 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003213/0.2242, allocations: 1.919 MB / 350.4 MB, free: 13.59 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.2252, allocations: 0.5773 MB / 351 MB, free: 13 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.89e-05/0.2253, allocations: 0 / 351 MB, free: 13 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.054e-05/0.2254, allocations: 27.78 kB / 351 MB, free: 12.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001293/0.2255, allocations: 39.64 kB / 351.1 MB, free: 12.94 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003263/0.2258, allocations: 95.75 kB / 351.2 MB, free: 12.84 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002143/0.226, allocations: 183.3 kB / 351.3 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.2262, allocations: 41.45 kB / 351.4 MB, free: 12.62 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001618/0.2263, allocations: 87.62 kB / 351.5 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.2265, allocations: 67.69 kB / 351.5 MB, free: 12.47 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.441e-05/0.2265, allocations: 20 kB / 351.6 MB, free: 12.45 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.218e-05/0.2265, allocations: 12 kB / 351.6 MB, free: 12.44 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.216e-05/0.2266, allocations: 39.78 kB / 351.6 MB, free: 12.4 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.408e-05/0.2267, allocations: 63.77 kB / 351.7 MB, free: 12.34 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.2269, allocations: 165.8 kB / 351.8 MB, free: 12.18 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2269, allocations: 0 / 351.8 MB, free: 12.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2269, allocations: 4 kB / 351.8 MB, free: 12.18 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.2269, allocations: 0 / 351.8 MB, free: 12.18 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0007714/0.2277, allocations: 405.4 kB / 352.2 MB, free: 11.75 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.2277, allocations: 19.86 kB / 352.3 MB, free: 11.73 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.186e-05/0.2277, allocations: 16.84 kB / 352.3 MB, free: 11.72 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.2279, allocations: 146.2 kB / 352.4 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.2279, allocations: 8.375 kB / 352.4 MB, free: 11.54 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.882e-05/0.228, allocations: 12.38 kB / 352.4 MB, free: 11.53 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003687/0.2283, allocations: 207.8 kB / 352.6 MB, free: 11.3 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.2283, allocations: 7.984 kB / 352.6 MB, free: 11.29 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.2284, allocations: 3.938 kB / 352.6 MB, free: 11.29 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.2284, allocations: 0 / 352.6 MB, free: 11.29 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003131/0.2287, allocations: 95.94 kB / 352.7 MB, free: 11.2 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008717/0.2295, allocations: 423.2 kB / 353.2 MB, free: 10.75 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003052/0.2299, allocations: 102.5 kB / 353.3 MB, free: 10.64 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.23, allocations: 60.83 kB / 353.3 MB, free: 10.57 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.2301, allocations: 0 / 353.3 MB, free: 10.57 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.247e-05/0.2301, allocations: 42.5 kB / 353.4 MB, free: 10.52 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 8.21e-07/0.2301, allocations: 0 / 353.4 MB, free: 10.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.00046/0.2306, allocations: 141.5 kB / 353.5 MB, free: 10.38 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.536e-05/0.2306, allocations: 110.8 kB / 353.6 MB, free: 10.25 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.2308, allocations: 154.3 kB / 353.8 MB, free: 10.09 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.2308, allocations: 29.7 kB / 353.8 MB, free: 10.05 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.547e-05/0.2309, allocations: 123.9 kB / 353.9 MB, free: 9.926 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.2309, allocations: 27.89 kB / 353.9 MB, free: 9.898 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.955e-05/0.231, allocations: 33.7 kB / 354 MB, free: 9.859 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.2311, allocations: 322.8 kB / 354.3 MB, free: 9.535 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.2313, allocations: 31.98 kB / 354.3 MB, free: 9.504 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002026/0.2315, allocations: 143.6 kB / 354.5 MB, free: 9.336 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002608/0.2317, allocations: 98.84 kB / 354.5 MB, free: 9.23 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2317, allocations: 0 / 354.5 MB, free: 9.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003602/0.2321, allocations: 149.5 kB / 354.7 MB, free: 9.078 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.2321, allocations: 4 kB / 354.7 MB, free: 9.074 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2321, allocations: 3.938 kB / 354.7 MB, free: 9.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.2321, allocations: 4 kB / 354.7 MB, free: 9.066 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006267/0.2328, allocations: 87.84 kB / 354.8 MB, free: 8.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00151/0.2343, allocations: 1.374 MB / 356.2 MB, free: 7.492 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/0.2345, allocations: 19.95 kB / 356.2 MB, free: 7.473 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.2345, allocations: 4.188 kB / 356.2 MB, free: 7.469 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001129/0.2346, allocations: 129.7 kB / 356.3 MB, free: 7.332 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.821e-05/0.2346, allocations: 11.91 kB / 356.3 MB, free: 7.32 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004666/0.2351, allocations: 155.2 kB / 356.5 MB, free: 7.16 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.2351, allocations: 0 / 356.5 MB, free: 7.16 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.2351, allocations: 12 kB / 356.5 MB, free: 7.148 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2351, allocations: 0 / 356.5 MB, free: 7.148 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006969/0.2358, allocations: 387.7 kB / 356.9 MB, free: 6.727 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2358, allocations: 0 / 356.9 MB, free: 6.727 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000141/0.236, allocations: 23.92 kB / 356.9 MB, free: 6.703 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001963/0.2362, allocations: 36.86 kB / 356.9 MB, free: 6.664 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.2362, allocations: 3.938 kB / 356.9 MB, free: 6.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001128/0.2373, allocations: 1.264 MB / 358.2 MB, free: 5.293 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2373, allocations: 4.156 kB / 358.2 MB, free: 5.289 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006016/0.2379, allocations: 297 kB / 358.5 MB, free: 4.977 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.13e-05/0.2379, allocations: 7.984 kB / 358.5 MB, free: 4.969 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.2379, allocations: 7.984 kB / 358.5 MB, free: 4.961 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.2381, allocations: 20.05 kB / 358.5 MB, free: 4.941 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.295e-05/0.2381, allocations: 11.92 kB / 358.5 MB, free: 4.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-06/0.2382, allocations: 3.938 kB / 358.5 MB, free: 4.926 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.955e-05/0.2383, allocations: 123.9 kB / 358.7 MB, free: 4.805 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2383, allocations: 0 / 358.7 MB, free: 4.805 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003021/0.2386, allocations: 43.89 kB / 358.7 MB, free: 4.762 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (SaturatingInductance1.Psi,Inductance1.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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001041/0.2387, allocations: 99.25 kB / 358.8 MB, free: 4.656 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006933/0.2394, allocations: 131.8 kB / 358.9 MB, free: 4.527 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2394, allocations: 0 / 358.9 MB, free: 4.527 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003184/0.2397, allocations: 162.7 kB / 359.1 MB, free: 4.355 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.2399, allocations: 15.94 kB / 359.1 MB, free: 4.34 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.2414, allocations: 0.5362 MB / 359.6 MB, free: 3.773 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.873e-05/0.2415, allocations: 101.6 kB / 359.7 MB, free: 3.656 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.495e-05/0.2416, allocations: 12.48 kB / 359.8 MB, free: 3.645 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.847e-05/0.2416, allocations: 12.5 kB / 359.8 MB, free: 3.633 MB / 318.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2416, allocations: 0 / 359.8 MB, free: 3.633 MB / 318.1 MB Notification: Performance of Templates: time 0.004948/0.2466, allocations: 1.739 MB / 361.5 MB, free: 1.887 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.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.779432629002258]