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.001734/0.001734, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.00202/0.00202, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.475/1.475, allocations: 207.6 MB / 235.3 MB, free: 9.996 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.001897/0.001897, allocations: 51.92 kB / 347.2 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3857/0.3876, allocations: 49.16 MB / 396.4 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.004341/0.3919, allocations: 2.018 MB / 398.4 MB, free: 7.602 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001383/0.3933, allocations: 0.6148 MB / 399 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001775/0.3935, allocations: 6.812 kB / 399 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.268e-05/0.3935, allocations: 16.58 kB / 399 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002104/0.3937, allocations: 47.78 kB / 399.1 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004268/0.3942, allocations: 95.62 kB / 399.1 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003147/0.3945, allocations: 180.9 kB / 399.3 MB, free: 6.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00018/0.3947, allocations: 35.27 kB / 399.4 MB, free: 6.961 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002573/0.3949, allocations: 79.42 kB / 399.4 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000167/0.3951, allocations: 90.33 kB / 399.5 MB, free: 6.875 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.573e-05/0.3951, allocations: 14.78 kB / 399.5 MB, free: 6.875 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.57e-05/0.3952, allocations: 14.91 kB / 399.6 MB, free: 6.875 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.382e-05/0.3952, allocations: 35.8 kB / 399.6 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.3954, allocations: 74.09 kB / 399.7 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002974/0.3956, allocations: 178.1 kB / 399.8 MB, free: 6.742 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3957, allocations: 0 / 399.8 MB, free: 6.742 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3957, allocations: 0 / 399.8 MB, free: 6.742 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.401e-05/0.3957, allocations: 2.016 kB / 399.8 MB, free: 6.742 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.0008569/0.3965, allocations: 406.9 kB / 400.2 MB, free: 6.406 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.3966, allocations: 13.55 kB / 400.2 MB, free: 6.402 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.85e-05/0.3966, allocations: 40.41 kB / 400.3 MB, free: 6.359 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.074e-05/0.3967, allocations: 21 kB / 400.3 MB, free: 6.348 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.3968, allocations: 138 kB / 400.4 MB, free: 6.203 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.3968, allocations: 12.69 kB / 400.5 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.003e-05/0.3969, allocations: 14.86 kB / 400.5 MB, free: 6.188 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003772/0.3973, allocations: 152.7 kB / 400.6 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.3973, allocations: 0.5156 kB / 400.6 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.3973, allocations: 2.156 kB / 400.6 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.3973, allocations: 2.75 kB / 400.6 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003111/0.3976, allocations: 100.6 kB / 400.7 MB, free: 6.062 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009928/0.3986, allocations: 479.8 kB / 401.2 MB, free: 5.699 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003705/0.399, allocations: 111.6 kB / 401.3 MB, free: 5.641 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/0.3992, allocations: 59.56 kB / 401.4 MB, free: 5.621 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.3992, allocations: 6.297 kB / 401.4 MB, free: 5.617 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.3992, allocations: 39.94 kB / 401.4 MB, free: 5.57 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.3992, allocations: 0 / 401.4 MB, free: 5.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.000488/0.3997, allocations: 146.4 kB / 401.5 MB, free: 5.504 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.3998, allocations: 108.8 kB / 401.7 MB, free: 5.375 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.3999, allocations: 152.7 kB / 401.8 MB, free: 5.262 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.3999, allocations: 27.14 kB / 401.8 MB, free: 5.23 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.924e-05/0.4, allocations: 128 kB / 402 MB, free: 5.113 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.256e-05/0.4, allocations: 29.59 kB / 402 MB, free: 5.09 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.354e-05/0.4001, allocations: 27.08 kB / 402 MB, free: 5.07 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.716e-05/0.4001, allocations: 325 kB / 402.3 MB, free: 4.75 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.4003, allocations: 41.33 kB / 402.4 MB, free: 4.738 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.4004, allocations: 80.73 kB / 402.4 MB, free: 4.68 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002476/0.4007, allocations: 105.5 kB / 402.5 MB, free: 4.621 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.4007, allocations: 1.344 kB / 402.5 MB, free: 4.621 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003471/0.401, allocations: 141 kB / 402.7 MB, free: 4.555 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.401, allocations: 9.25 kB / 402.7 MB, free: 4.551 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.401, allocations: 1.312 kB / 402.7 MB, free: 4.551 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.4011, allocations: 2.094 kB / 402.7 MB, free: 4.551 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006265/0.4017, allocations: 84.05 kB / 402.8 MB, free: 4.547 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001265/0.403, allocations: 1.399 MB / 404.2 MB, free: 3.156 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/0.4031, allocations: 31.36 kB / 404.2 MB, free: 3.141 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.4032, allocations: 3.844 kB / 404.2 MB, free: 3.141 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 9.941e-05/0.4033, allocations: 121 kB / 404.3 MB, free: 3.02 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.216e-05/0.4033, allocations: 18.53 kB / 404.4 MB, free: 3.008 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000471/0.4038, allocations: 156.3 kB / 404.5 MB, free: 2.93 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.4038, allocations: 5.25 kB / 404.5 MB, free: 2.926 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.4038, allocations: 1.188 kB / 404.5 MB, free: 2.926 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.4038, allocations: 0.7031 kB / 404.5 MB, free: 2.926 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007566/0.4045, allocations: 439.3 kB / 404.9 MB, free: 2.582 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.4045, allocations: 3.938 kB / 404.9 MB, free: 2.578 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.4047, allocations: 24.8 kB / 405 MB, free: 2.578 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002438/0.4049, allocations: 31.55 kB / 405 MB, free: 2.562 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.4049, allocations: 1.062 kB / 405 MB, free: 2.562 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008582/0.4058, allocations: 1.294 MB / 406.3 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.4058, allocations: 1.406 kB / 406.3 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005709/0.4064, allocations: 299.4 kB / 406.6 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.537e-05/0.4064, allocations: 12.52 kB / 406.6 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.4064, allocations: 6.094 kB / 406.6 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.4066, allocations: 21.92 kB / 406.6 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.787e-05/0.4066, allocations: 6.203 kB / 406.6 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.4067, allocations: 2.766 kB / 406.6 MB, free: 1.051 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.553e-05/0.4068, allocations: 122.6 kB / 406.8 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4068, allocations: 0 / 406.8 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003145/0.4071, allocations: 44.45 kB / 406.8 MB, free: 0.9492 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.0008538/0.4079, allocations: 0.8284 MB / 407.6 MB, free: 224 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007157/0.4086, allocations: 135.2 kB / 407.8 MB, free: 196 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.4086, allocations: 0 / 407.8 MB, free: 196 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003032/0.4089, allocations: 168.4 kB / 407.9 MB, free: 64 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.4092, allocations: 8.125 kB / 407.9 MB, free: 60 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003771/0.413, allocations: 2.099 MB / 410 MB, free: 14.5 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004351/0.4134, allocations: 0.7127 MB / 410.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.243e-05/0.4135, allocations: 10.45 kB / 410.8 MB, free: 13.79 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.533e-05/0.4136, allocations: 41.94 kB / 410.8 MB, free: 13.76 MB / 334.1 MB Notification: Performance of SimCode: time 3.7e-07/0.4136, allocations: 0 / 410.8 MB, free: 13.76 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0371/0.4507, allocations: 3.439 MB / 414.2 MB, free: 12.49 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.05/13.5, allocations: 2.156 kB / 414.2 MB, free: 12.49 MB / 334.1 MB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_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.csv","/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: 16.11151589400106]