Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001808/0.001808, allocations: 118.3 kB / 18.49 MB, free: 4.559 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.002309/0.002309, allocations: 219 kB / 21.46 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.421/1.421, allocations: 230.6 MB / 254.8 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 51.92 kB / 373.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1206, allocations: 53.33 MB / 427 MB, free: 4.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003377/0.124, allocations: 2.066 MB / 429.1 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.1251, allocations: 0.6584 MB / 429.8 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.948e-05/0.1252, allocations: 3.938 kB / 429.8 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.797e-05/0.1253, allocations: 19.84 kB / 429.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001481/0.1254, allocations: 51.56 kB / 429.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003871/0.1258, allocations: 99.8 kB / 429.9 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002482/0.126, allocations: 191.2 kB / 430.1 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.1262, allocations: 33.55 kB / 430.1 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002223/0.1264, allocations: 87.69 kB / 430.2 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.1265, allocations: 83.61 kB / 430.3 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.295e-05/0.1265, allocations: 16 kB / 430.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.658e-05/0.1266, allocations: 24 kB / 430.4 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.477e-05/0.1267, allocations: 35.91 kB / 430.4 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.14e-05/0.1267, allocations: 75.66 kB / 430.5 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002565/0.127, allocations: 183.2 kB / 430.6 MB, free: 1.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.127, allocations: 4 kB / 430.6 MB, free: 1.113 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.127, allocations: 0 / 430.6 MB, free: 1.113 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.759e-06/0.127, allocations: 3.938 kB / 430.7 MB, free: 1.109 MB / 350.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.0008028/0.1278, allocations: 478.7 kB / 431.1 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.1279, allocations: 8.031 kB / 431.1 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.415e-05/0.1279, allocations: 4.188 kB / 431.1 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.627e-05/0.1279, allocations: 46.73 kB / 431.2 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003789/0.1283, allocations: 52.81 kB / 431.2 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.1286, allocations: 220.1 kB / 431.4 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.1286, allocations: 12.31 kB / 431.5 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.601e-05/0.1287, allocations: 8.375 kB / 431.5 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003144/0.129, allocations: 152 kB / 431.6 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.129, allocations: 0 / 431.6 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/0.129, allocations: 12 kB / 431.6 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.129, allocations: 0 / 431.6 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1922/0.3212, allocations: 87.86 kB / 431.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009521/0.3221, allocations: 0.5079 MB / 432.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003011/0.3224, allocations: 99.86 kB / 432.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001942/0.3226, allocations: 64.56 kB / 432.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.3227, allocations: 1 kB / 432.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.3227, allocations: 34.16 kB / 432.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/0.3227, allocations: 0 / 432.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004796/0.3232, allocations: 156.3 kB / 432.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.3232, allocations: 104.5 kB / 432.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.3233, allocations: 157.3 kB / 432.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.3234, allocations: 28.23 kB / 432.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.635e-05/0.3234, allocations: 124 kB / 433 MB, free: 10.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.3234, allocations: 25.7 kB / 433 MB, free: 10.44 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.737e-05/0.3235, allocations: 32.33 kB / 433 MB, free: 10.42 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.997e-05/0.3235, allocations: 321.1 kB / 433.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.3237, allocations: 45.41 kB / 433.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.3238, allocations: 83.86 kB / 433.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002356/0.324, allocations: 96.98 kB / 433.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.324, allocations: 0 / 433.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003209/0.3244, allocations: 155.6 kB / 433.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.3244, allocations: 4.875 kB / 433.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.3244, allocations: 5.438 kB / 433.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.3244, allocations: 4.656 kB / 433.7 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005702/0.325, allocations: 79.14 kB / 433.8 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001052/0.326, allocations: 1.5 MB / 435.3 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.3262, allocations: 21.78 kB / 435.3 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.3262, allocations: 9.094 kB / 435.3 MB, free: 8.559 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 7.911e-05/0.3263, allocations: 123.7 kB / 435.5 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.772e-05/0.3263, allocations: 17.17 kB / 435.5 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003991/0.3267, allocations: 160.4 kB / 435.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3267, allocations: 2.594 kB / 435.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.3267, allocations: 0 / 435.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.3267, allocations: 0 / 435.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006192/0.3273, allocations: 462.7 kB / 436.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.3273, allocations: 2.062 kB / 436.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/0.3275, allocations: 28.59 kB / 436.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002253/0.3277, allocations: 37.12 kB / 436.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.3277, allocations: 1.062 kB / 436.2 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000779/0.3285, allocations: 1.387 MB / 437.5 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3285, allocations: 3.094 kB / 437.5 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005392/0.329, allocations: 302.7 kB / 437.8 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.753e-05/0.3291, allocations: 87.56 kB / 437.9 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.3291, allocations: 5.844 kB / 437.9 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.3292, allocations: 14.02 kB / 437.9 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.744e-05/0.3293, allocations: 12 kB / 438 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.3293, allocations: 3.438 kB / 438 MB, free: 6.457 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.998e-05/0.3294, allocations: 124.5 kB / 438.1 MB, free: 6.379 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3294, allocations: 0 / 438.1 MB, free: 6.379 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003122/0.3297, allocations: 46.44 kB / 438.1 MB, free: 6.375 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.000721/0.3304, allocations: 0.8361 MB / 439 MB, free: 5.691 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000684/0.3311, allocations: 134.9 kB / 439.1 MB, free: 5.684 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.3311, allocations: 1.031 kB / 439.1 MB, free: 5.684 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002968/0.3314, allocations: 162.8 kB / 439.3 MB, free: 5.574 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.3317, allocations: 7.281 kB / 439.3 MB, free: 5.574 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003019/0.3347, allocations: 2.113 MB / 441.4 MB, free: 4.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002123/0.3349, allocations: 0.7097 MB / 442.1 MB, free: 3.465 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.832e-05/0.335, allocations: 12.11 kB / 442.1 MB, free: 3.461 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.734e-05/0.335, allocations: 46.33 kB / 442.1 MB, free: 3.426 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.335, allocations: 1.281 kB / 442.1 MB, free: 3.426 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02497/0.36, allocations: 3.44 MB / 445.6 MB, free: 2.91 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.92, allocations: 6.609 kB / 445.6 MB, free: 2.91 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor_fmu --startTime=0 --stopTime=6.2832 --stepSize=0.0100051 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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.308862872014288]