Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001257/0.001257, allocations: 112.5 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001389/0.001389, allocations: 212.1 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 230.5 MB / 257.4 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 60.12 kB / 377.8 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2438, allocations: 53.4 MB / 431.2 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.00328/0.247, allocations: 2.073 MB / 433.3 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.2482, allocations: 0.666 MB / 433.9 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.985e-05/0.2483, allocations: 4 kB / 433.9 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.271e-05/0.2483, allocations: 19.78 kB / 434 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001332/0.2485, allocations: 43.62 kB / 434 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003859/0.2489, allocations: 119.3 kB / 434.1 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002449/0.2491, allocations: 183.3 kB / 434.3 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.2492, allocations: 37.72 kB / 434.3 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002014/0.2494, allocations: 87.7 kB / 434.4 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.2496, allocations: 79.61 kB / 434.5 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.064e-05/0.2496, allocations: 16 kB / 434.5 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.254e-05/0.2497, allocations: 24 kB / 434.5 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.402e-05/0.2497, allocations: 31.91 kB / 434.6 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.016e-05/0.2498, allocations: 83.53 kB / 434.6 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002398/0.25, allocations: 187.9 kB / 434.8 MB, free: 3.289 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.25, allocations: 0 / 434.8 MB, free: 3.289 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.25, allocations: 0 / 434.8 MB, free: 3.289 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.82e-06/0.25, allocations: 0 / 434.8 MB, free: 3.289 MB / 334.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.0007502/0.2508, allocations: 405.6 kB / 435.2 MB, free: 2.863 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.2508, allocations: 8.031 kB / 435.2 MB, free: 2.855 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.833e-05/0.2509, allocations: 42.75 kB / 435.3 MB, free: 2.805 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003648/0.2512, allocations: 52.8 kB / 435.3 MB, free: 2.754 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.2515, allocations: 162.3 kB / 435.5 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.2515, allocations: 12.31 kB / 435.5 MB, free: 2.559 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.965e-05/0.2515, allocations: 16.38 kB / 435.5 MB, free: 2.543 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003157/0.2519, allocations: 152.2 kB / 435.7 MB, free: 2.379 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.2519, allocations: 0 / 435.7 MB, free: 2.379 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.2519, allocations: 0 / 435.7 MB, free: 2.379 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.2519, allocations: 4 kB / 435.7 MB, free: 2.375 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000272/0.2522, allocations: 95.94 kB / 435.8 MB, free: 2.281 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008805/0.253, allocations: 486.4 kB / 436.2 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000293/0.2533, allocations: 98.53 kB / 436.3 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001828/0.2535, allocations: 60.83 kB / 436.4 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.2535, allocations: 0 / 436.4 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.2536, allocations: 46.5 kB / 436.4 MB, free: 1.531 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 8.32e-07/0.2536, allocations: 0 / 436.4 MB, free: 1.531 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004551/0.254, allocations: 145.7 kB / 436.6 MB, free: 1.383 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.716e-05/0.2541, allocations: 110.8 kB / 436.7 MB, free: 1.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.2542, allocations: 158.8 kB / 436.8 MB, free: 1.086 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.2543, allocations: 29.7 kB / 436.9 MB, free: 1.051 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.938e-05/0.2544, allocations: 119.9 kB / 437 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/0.2544, allocations: 31.67 kB / 437 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-05/0.2544, allocations: 33.7 kB / 437.1 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.2546, allocations: 318.8 kB / 437.4 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.2547, allocations: 47.97 kB / 437.4 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/0.2549, allocations: 76.2 kB / 437.5 MB, free: 412 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002479/0.2551, allocations: 98.52 kB / 437.6 MB, free: 304 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2551, allocations: 3.938 kB / 437.6 MB, free: 300 kB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003425/0.2555, allocations: 149.5 kB / 437.7 MB, free: 144 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.2555, allocations: 11.98 kB / 437.7 MB, free: 132 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.2555, allocations: 4.031 kB / 437.7 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.2555, allocations: 0 / 437.7 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005676/0.2561, allocations: 79.92 kB / 437.8 MB, free: 48 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001471/0.2575, allocations: 1.4 MB / 439.2 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.2577, allocations: 24.02 kB / 439.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.2577, allocations: 7.984 kB / 439.3 MB, free: 14.5 MB / 350.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.0001157/0.2578, allocations: 121.8 kB / 439.4 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.839e-05/0.2579, allocations: 11.91 kB / 439.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004668/0.2583, allocations: 163.5 kB / 439.5 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.2583, allocations: 3.938 kB / 439.6 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.2583, allocations: 4 kB / 439.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.2583, allocations: 0 / 439.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007577/0.2591, allocations: 443.2 kB / 440 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2591, allocations: 0 / 440 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/0.2593, allocations: 19.98 kB / 440 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002103/0.2595, allocations: 32.83 kB / 440 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.2595, allocations: 4.031 kB / 440 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001136/0.2606, allocations: 1.299 MB / 441.3 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2606, allocations: 0 / 441.3 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005938/0.2612, allocations: 293.2 kB / 441.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.399e-05/0.2612, allocations: 15.91 kB / 441.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/0.2613, allocations: 7.938 kB / 441.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.2614, allocations: 15.98 kB / 441.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.261e-05/0.2615, allocations: 8.047 kB / 441.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.2615, allocations: 8 kB / 441.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.408e-05/0.2616, allocations: 119.2 kB / 441.8 MB, free: 11.74 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2616, allocations: 0 / 441.8 MB, free: 11.74 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002839/0.2618, allocations: 39.89 kB / 441.8 MB, free: 11.7 MB / 350.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.0009808/0.2628, allocations: 0.8311 MB / 442.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006818/0.2635, allocations: 131.9 kB / 442.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.2635, allocations: 0 / 442.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003171/0.2638, allocations: 170.7 kB / 443 MB, free: 10.53 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.2641, allocations: 18.12 kB / 443 MB, free: 10.51 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003226/0.2673, allocations: 2.105 MB / 445.1 MB, free: 8.312 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.2676, allocations: 0.7158 MB / 445.8 MB, free: 7.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.329e-05/0.2677, allocations: 16.47 kB / 445.8 MB, free: 7.555 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.382e-05/0.2677, allocations: 39.42 kB / 445.9 MB, free: 7.516 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2677, allocations: 0 / 445.9 MB, free: 7.516 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03245/0.3002, allocations: 3.471 MB / 449.3 MB, free: 4.152 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.44, allocations: 3.375 kB / 449.3 MB, free: 4.152 MB / 350.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor_fmu --startTime=0 --stopTime=6.2832 --stepSize=0.0100051 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.689396261004731]