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.001269/0.001269, allocations: 103.6 kB / 21.18 MB, free: 472 kB / 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.001378/0.001378, allocations: 214.4 kB / 24.47 MB, free: 3.793 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.34/1.34, allocations: 207.7 MB / 235.3 MB, free: 9.781 MB / 190.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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) [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: 52.27 kB / 347.2 MB, free: 9.98 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2338, allocations: 49.16 MB / 396.4 MB, free: 8.836 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.002661/0.2365, allocations: 1.921 MB / 398.3 MB, free: 7.547 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008166/0.2373, allocations: 0.5755 MB / 398.9 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.378e-05/0.2374, allocations: 2.688 kB / 398.9 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.724e-05/0.2374, allocations: 19.95 kB / 398.9 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001208/0.2375, allocations: 47.05 kB / 398.9 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002899/0.2378, allocations: 96.27 kB / 399 MB, free: 7.055 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001697/0.238, allocations: 182.2 kB / 399.2 MB, free: 6.969 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.2381, allocations: 26.28 kB / 399.2 MB, free: 6.957 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.2383, allocations: 87.98 kB / 399.3 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.617e-05/0.2384, allocations: 66.19 kB / 399.4 MB, free: 6.887 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.083e-05/0.2384, allocations: 14.56 kB / 399.4 MB, free: 6.887 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.312e-05/0.2384, allocations: 15.91 kB / 399.4 MB, free: 6.887 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.024e-05/0.2385, allocations: 43.48 kB / 399.4 MB, free: 6.855 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.831e-05/0.2385, allocations: 61.3 kB / 399.5 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.2387, allocations: 179.7 kB / 399.7 MB, free: 6.758 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.2387, allocations: 1.281 kB / 399.7 MB, free: 6.758 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2387, allocations: 0 / 399.7 MB, free: 6.758 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.2387, allocations: 4.688 kB / 399.7 MB, free: 6.754 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.0006213/0.2393, allocations: 407.7 kB / 400.1 MB, free: 6.418 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.2394, allocations: 12.98 kB / 400.1 MB, free: 6.414 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.471e-05/0.2394, allocations: 40.2 kB / 400.1 MB, free: 6.371 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.11e-05/0.2394, allocations: 18.38 kB / 400.2 MB, free: 6.363 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.2396, allocations: 141.7 kB / 400.3 MB, free: 6.215 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.2396, allocations: 8.156 kB / 400.3 MB, free: 6.211 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.2396, allocations: 12.25 kB / 400.3 MB, free: 6.207 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002911/0.2399, allocations: 204.8 kB / 400.5 MB, free: 6.051 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.2399, allocations: 3.938 kB / 400.5 MB, free: 6.047 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.2399, allocations: 5.531 kB / 400.5 MB, free: 6.043 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.2399, allocations: 2.906 kB / 400.5 MB, free: 6.043 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002437/0.2402, allocations: 91.14 kB / 400.6 MB, free: 6.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007649/0.2409, allocations: 451.1 kB / 401.1 MB, free: 5.664 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002708/0.2412, allocations: 105.6 kB / 401.2 MB, free: 5.613 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/0.2414, allocations: 58.88 kB / 401.2 MB, free: 5.594 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.2414, allocations: 5.266 kB / 401.2 MB, free: 5.59 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.2414, allocations: 44.27 kB / 401.3 MB, free: 5.539 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.2414, allocations: 5.062 kB / 401.3 MB, free: 5.535 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.000419/0.2418, allocations: 146 kB / 401.4 MB, free: 5.469 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.2419, allocations: 105.8 kB / 401.5 MB, free: 5.344 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.242, allocations: 152.4 kB / 401.7 MB, free: 5.23 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.242, allocations: 31.14 kB / 401.7 MB, free: 5.195 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.021e-05/0.242, allocations: 128.4 kB / 401.8 MB, free: 5.078 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.2421, allocations: 28.53 kB / 401.8 MB, free: 5.055 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.015e-05/0.2421, allocations: 28 kB / 401.9 MB, free: 5.035 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.183e-05/0.2421, allocations: 325.4 kB / 402.2 MB, free: 4.715 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.2423, allocations: 36.12 kB / 402.2 MB, free: 4.707 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.2424, allocations: 137.5 kB / 402.4 MB, free: 4.582 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002182/0.2426, allocations: 98.56 kB / 402.5 MB, free: 4.531 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2426, allocations: 1.469 kB / 402.5 MB, free: 4.531 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002984/0.2429, allocations: 145 kB / 402.6 MB, free: 4.461 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.243, allocations: 6.047 kB / 402.6 MB, free: 4.461 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.243, allocations: 1.438 kB / 402.6 MB, free: 4.461 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.243, allocations: 1.156 kB / 402.6 MB, free: 4.461 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005525/0.2435, allocations: 88.84 kB / 402.7 MB, free: 4.453 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009888/0.2445, allocations: 1.394 MB / 404.1 MB, free: 3.066 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/0.2447, allocations: 27.23 kB / 404.1 MB, free: 3.055 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.2447, allocations: 7.844 kB / 404.1 MB, free: 3.051 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 7.206e-05/0.2448, allocations: 125.7 kB / 404.2 MB, free: 2.926 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.2448, allocations: 12.94 kB / 404.3 MB, free: 2.918 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004195/0.2452, allocations: 156.8 kB / 404.4 MB, free: 2.84 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.2452, allocations: 12 kB / 404.4 MB, free: 2.832 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.2452, allocations: 1.188 kB / 404.4 MB, free: 2.832 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2452, allocations: 0 / 404.4 MB, free: 2.832 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005761/0.2458, allocations: 418.1 kB / 404.8 MB, free: 2.496 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.2458, allocations: 1.281 kB / 404.8 MB, free: 2.496 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/0.2459, allocations: 31.83 kB / 404.9 MB, free: 2.488 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001814/0.2461, allocations: 30.41 kB / 404.9 MB, free: 2.473 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.2461, allocations: 2.844 kB / 404.9 MB, free: 2.473 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006918/0.2468, allocations: 1.286 MB / 406.2 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2468, allocations: 0 / 406.2 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000504/0.2473, allocations: 297.4 kB / 406.5 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.092e-05/0.2473, allocations: 12.67 kB / 406.5 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.2474, allocations: 11.2 kB / 406.5 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.2475, allocations: 20.16 kB / 406.5 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.273e-05/0.2475, allocations: 7.875 kB / 406.5 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.2476, allocations: 3.031 kB / 406.5 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.674e-05/0.2476, allocations: 122.5 kB / 406.6 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2476, allocations: 0 / 406.6 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000277/0.2479, allocations: 39.36 kB / 406.7 MB, free: 0.8711 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.0006585/0.2486, allocations: 0.8335 MB / 407.5 MB, free: 140 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000627/0.2492, allocations: 136.3 kB / 407.7 MB, free: 112 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2492, allocations: 0 / 407.7 MB, free: 112 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002937/0.2495, allocations: 160.2 kB / 407.8 MB, free: 15.99 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.2497, allocations: 7.688 kB / 407.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00325/0.253, allocations: 2.105 MB / 409.9 MB, free: 14.42 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.972e-05/0.2531, allocations: 99.7 kB / 410 MB, free: 14.34 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.779e-05/0.2531, allocations: 11.22 kB / 410 MB, free: 14.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.925e-05/0.2532, allocations: 46 kB / 410.1 MB, free: 14.31 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2532, allocations: 0 / 410.1 MB, free: 14.31 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03285/0.2861, allocations: 3.926 MB / 414 MB, free: 12.58 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.29, allocations: 13.05 kB / 414 MB, free: 12.57 MB / 334.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor_fmu --startTime=0 --stopTime=6.2832 --stepSize=0.0100051 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 52.5] 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: 14.462020758073777]