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.001263/0.001263, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001479/0.001479, allocations: 207.4 kB / 24.53 MB, free: 4.07 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.578/1.578, allocations: 230.5 MB / 258.2 MB, free: 8.047 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 55.91 kB / 378.6 MB, free: 3.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3139, allocations: 53.41 MB / 432 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003481/0.3174, allocations: 2.084 MB / 434.1 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001665/0.319, allocations: 0.6622 MB / 434.7 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.3192, allocations: 7.938 kB / 434.7 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.413e-05/0.3192, allocations: 15.84 kB / 434.7 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001965/0.3194, allocations: 55.52 kB / 434.8 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005274/0.32, allocations: 107.4 kB / 434.9 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003249/0.3203, allocations: 183.2 kB / 435.1 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001895/0.3205, allocations: 37.73 kB / 435.1 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002671/0.3207, allocations: 87.69 kB / 435.2 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.3209, allocations: 75.62 kB / 435.3 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.214e-05/0.3209, allocations: 16 kB / 435.3 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.163e-05/0.321, allocations: 27.98 kB / 435.3 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.345e-05/0.321, allocations: 35.84 kB / 435.4 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.758e-05/0.3211, allocations: 79.66 kB / 435.4 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003133/0.3214, allocations: 188 kB / 435.6 MB, free: 3.031 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/0.3215, allocations: 4 kB / 435.6 MB, free: 3.027 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.3215, allocations: 0 / 435.6 MB, free: 3.027 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.3215, allocations: 0 / 435.6 MB, free: 3.027 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.0008884/0.3224, allocations: 397.6 kB / 436 MB, free: 2.609 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.3224, allocations: 12.03 kB / 436 MB, free: 2.598 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.728e-05/0.3224, allocations: 192 / 436 MB, free: 2.598 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.127e-05/0.3225, allocations: 42.73 kB / 436.1 MB, free: 2.547 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003914/0.3229, allocations: 60.8 kB / 436.1 MB, free: 2.488 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003315/0.3232, allocations: 161.3 kB / 436.3 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.3232, allocations: 12.31 kB / 436.3 MB, free: 2.297 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.711e-05/0.3232, allocations: 12.38 kB / 436.3 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003389/0.3236, allocations: 152 kB / 436.5 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.3236, allocations: 0 / 436.5 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.3236, allocations: 7.984 kB / 436.5 MB, free: 2.113 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.3236, allocations: 4 kB / 436.5 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002793/0.3239, allocations: 91.94 kB / 436.6 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009489/0.3248, allocations: 482.5 kB / 437 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003217/0.3252, allocations: 106.4 kB / 437.1 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002019/0.3254, allocations: 64.83 kB / 437.2 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.3254, allocations: 3.938 kB / 437.2 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.3254, allocations: 38.56 kB / 437.2 MB, free: 1.266 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.3254, allocations: 0 / 437.2 MB, free: 1.266 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005238/0.3259, allocations: 145.5 kB / 437.4 MB, free: 1.117 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.45e-05/0.326, allocations: 106.8 kB / 437.5 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.3262, allocations: 162.8 kB / 437.6 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.3262, allocations: 25.7 kB / 437.7 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.3263, allocations: 120.1 kB / 437.8 MB, free: 0.668 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.338e-05/0.3264, allocations: 31.72 kB / 437.8 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.569e-05/0.3264, allocations: 33.7 kB / 437.8 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3266, allocations: 322.8 kB / 438.2 MB, free: 280 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.3267, allocations: 43.97 kB / 438.2 MB, free: 236 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001605/0.3269, allocations: 80.14 kB / 438.3 MB, free: 140 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002499/0.3271, allocations: 98.52 kB / 438.4 MB, free: 32 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3271, allocations: 0 / 438.4 MB, free: 32 kB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003763/0.3275, allocations: 149.5 kB / 438.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.3275, allocations: 8 kB / 438.5 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.3275, allocations: 0 / 438.5 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.3275, allocations: 0 / 438.5 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006025/0.3281, allocations: 83.91 kB / 438.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001592/0.3297, allocations: 1.412 MB / 440 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.3299, allocations: 19.86 kB / 440 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.3299, allocations: 4 kB / 440.1 MB, free: 14.23 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.0001274/0.3301, allocations: 125.8 kB / 440.2 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.202e-05/0.3301, allocations: 11.91 kB / 440.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004713/0.3306, allocations: 159.2 kB / 440.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.3306, allocations: 3.938 kB / 440.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-06/0.3306, allocations: 3.938 kB / 440.3 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3306, allocations: 3.984 kB / 440.4 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007663/0.3314, allocations: 435.1 kB / 440.8 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3314, allocations: 0 / 440.8 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/0.3315, allocations: 19.98 kB / 440.8 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002144/0.3317, allocations: 36.86 kB / 440.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.3317, allocations: 0 / 440.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001185/0.3329, allocations: 1.292 MB / 442.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3329, allocations: 0 / 442.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006159/0.3335, allocations: 305.1 kB / 442.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.913e-05/0.3336, allocations: 15.92 kB / 442.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.497e-05/0.3336, allocations: 3.984 kB / 442.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.3337, allocations: 20.05 kB / 442.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.951e-05/0.3338, allocations: 0 / 442.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.3338, allocations: 11.98 kB / 442.5 MB, free: 11.6 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001044/0.3339, allocations: 119.2 kB / 442.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3339, allocations: 0 / 442.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003109/0.3342, allocations: 43.89 kB / 442.6 MB, free: 11.44 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.000934/0.3351, allocations: 0.8272 MB / 443.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007256/0.3359, allocations: 132 kB / 443.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3359, allocations: 4 kB / 443.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003288/0.3362, allocations: 166.5 kB / 443.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.3364, allocations: 15.98 kB / 443.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003362/0.3398, allocations: 2.123 MB / 445.9 MB, free: 8.039 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.3401, allocations: 0.7118 MB / 446.6 MB, free: 7.301 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.505e-05/0.3402, allocations: 12.48 kB / 446.6 MB, free: 7.289 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.131e-05/0.3403, allocations: 39.42 kB / 446.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3403, allocations: 4 kB / 446.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02762/0.3679, allocations: 3.485 MB / 450.1 MB, free: 3.879 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/12.65, allocations: 6.594 kB / 450.2 MB, free: 3.875 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: 15.23712298204191]