Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001715/0.001715, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002123/0.002123, allocations: 195.6 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 225.7 MB / 252.5 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001607/0.001607, allocations: 43.94 kB / 370.4 MB, free: 9.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2618, allocations: 52.19 MB / 422.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003344/0.2651, allocations: 1.955 MB / 424.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009591/0.2661, allocations: 0.5416 MB / 425.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.691e-05/0.2661, allocations: 4 kB / 425.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.044e-05/0.2662, allocations: 19.78 kB / 425.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001348/0.2663, allocations: 51.62 kB / 425.2 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003212/0.2667, allocations: 83.33 kB / 425.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002189/0.2669, allocations: 187.3 kB / 425.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.267, allocations: 35.36 kB / 425.5 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001712/0.2672, allocations: 83.64 kB / 425.5 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.2673, allocations: 67.69 kB / 425.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.473e-05/0.2673, allocations: 12 kB / 425.6 MB, free: 11.35 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.609e-05/0.2674, allocations: 16 kB / 425.6 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.96e-05/0.2674, allocations: 39.83 kB / 425.7 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.094e-05/0.2675, allocations: 75.66 kB / 425.7 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.2677, allocations: 171.3 kB / 425.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2677, allocations: 0 / 425.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2677, allocations: 0 / 425.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.337e-06/0.2677, allocations: 0 / 425.9 MB, free: 11.05 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.0007401/0.2685, allocations: 397.6 kB / 426.3 MB, free: 10.63 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.2685, allocations: 12.03 kB / 426.3 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.132e-05/0.2685, allocations: 42.73 kB / 426.3 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.338e-05/0.2686, allocations: 16.84 kB / 426.4 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.2687, allocations: 146.2 kB / 426.5 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.2688, allocations: 8.375 kB / 426.5 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.925e-05/0.2688, allocations: 8.375 kB / 426.5 MB, free: 10.37 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003504/0.2691, allocations: 207 kB / 426.7 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.2692, allocations: 0 / 426.7 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.2692, allocations: 12 kB / 426.7 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.2692, allocations: 3.938 kB / 426.7 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002798/0.2695, allocations: 95.88 kB / 426.8 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008784/0.2703, allocations: 446.5 kB / 427.3 MB, free: 9.551 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002943/0.2706, allocations: 98.53 kB / 427.4 MB, free: 9.445 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001918/0.2708, allocations: 64.83 kB / 427.4 MB, free: 9.379 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.2708, allocations: 0 / 427.4 MB, free: 9.379 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.2709, allocations: 50.42 kB / 427.5 MB, free: 9.32 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.2709, allocations: 0 / 427.5 MB, free: 9.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004454/0.2713, allocations: 141.7 kB / 427.6 MB, free: 9.176 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.747e-05/0.2714, allocations: 106.8 kB / 427.7 MB, free: 9.047 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.2715, allocations: 154.2 kB / 427.9 MB, free: 8.883 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.2716, allocations: 33.7 kB / 427.9 MB, free: 8.844 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.171e-05/0.2716, allocations: 120 kB / 428 MB, free: 8.723 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.303e-05/0.2717, allocations: 27.75 kB / 428 MB, free: 8.695 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.793e-05/0.2717, allocations: 29.7 kB / 428.1 MB, free: 8.66 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.2719, allocations: 318.8 kB / 428.4 MB, free: 8.34 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.272, allocations: 43.97 kB / 428.4 MB, free: 8.297 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001845/0.2722, allocations: 131.6 kB / 428.6 MB, free: 8.141 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002468/0.2724, allocations: 106.9 kB / 428.7 MB, free: 8.027 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2724, allocations: 0 / 428.7 MB, free: 8.027 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003366/0.2728, allocations: 153.5 kB / 428.8 MB, free: 7.871 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.2728, allocations: 4 kB / 428.8 MB, free: 7.867 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.2728, allocations: 0 / 428.8 MB, free: 7.867 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.2728, allocations: 4 kB / 428.8 MB, free: 7.863 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005752/0.2734, allocations: 83.86 kB / 428.9 MB, free: 7.781 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001436/0.2748, allocations: 1.393 MB / 430.3 MB, free: 6.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001645/0.275, allocations: 27.75 kB / 430.3 MB, free: 6.242 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.275, allocations: 7.984 kB / 430.3 MB, free: 6.234 MB / 334.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.2751, allocations: 128.8 kB / 430.5 MB, free: 6.102 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.503e-05/0.2751, allocations: 11.95 kB / 430.5 MB, free: 6.09 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004478/0.2756, allocations: 159.1 kB / 430.6 MB, free: 5.93 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.2756, allocations: 3.938 kB / 430.6 MB, free: 5.926 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.92e-07/0.2756, allocations: 0 / 430.6 MB, free: 5.926 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2756, allocations: 4 kB / 430.6 MB, free: 5.922 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007273/0.2763, allocations: 423.1 kB / 431 MB, free: 5.453 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2763, allocations: 0 / 431 MB, free: 5.453 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001371/0.2765, allocations: 27.97 kB / 431.1 MB, free: 5.426 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002038/0.2767, allocations: 32.81 kB / 431.1 MB, free: 5.391 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.2767, allocations: 3.984 kB / 431.1 MB, free: 5.387 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001144/0.2778, allocations: 1.284 MB / 432.4 MB, free: 3.984 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2778, allocations: 3.938 kB / 432.4 MB, free: 3.98 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005741/0.2784, allocations: 289.3 kB / 432.7 MB, free: 3.676 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.709e-05/0.2784, allocations: 15.91 kB / 432.7 MB, free: 3.66 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.2784, allocations: 3.938 kB / 432.7 MB, free: 3.656 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.2786, allocations: 24.05 kB / 432.7 MB, free: 3.633 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.2786, allocations: 11.92 kB / 432.7 MB, free: 3.621 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.2787, allocations: 0 / 432.7 MB, free: 3.621 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001026/0.2788, allocations: 119.2 kB / 432.9 MB, free: 3.504 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2788, allocations: 0 / 432.9 MB, free: 3.504 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002833/0.279, allocations: 39.95 kB / 432.9 MB, free: 3.465 MB / 334.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.0009271/0.28, allocations: 0.8311 MB / 433.7 MB, free: 2.602 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006511/0.2806, allocations: 136.3 kB / 433.9 MB, free: 2.469 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2806, allocations: 0 / 433.9 MB, free: 2.469 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003143/0.2809, allocations: 158.8 kB / 434 MB, free: 2.301 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.2812, allocations: 8 kB / 434 MB, free: 2.293 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003297/0.2845, allocations: 2.122 MB / 436.1 MB, free: 80 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001252/0.2846, allocations: 109.5 kB / 436.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.93e-05/0.2847, allocations: 12.48 kB / 436.3 MB, free: 15.94 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.311e-05/0.2847, allocations: 43.36 kB / 436.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2847, allocations: 0 / 436.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0334/0.3181, allocations: 3.914 MB / 440.2 MB, free: 12.1 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.52, allocations: 4.062 kB / 440.2 MB, free: 12.1 MB / 350.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.csv --start-time 0 --stop-time 6.2832 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0100051 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.99508479097858]