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.001489/0.001489, allocations: 118 kB / 18.45 MB, free: 4.566 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.002201/0.002201, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.746/1.746, allocations: 207.6 MB / 231.8 MB, free: 4.035 MB / 174.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.001845/0.001845, allocations: 59.92 kB / 342.3 MB, free: 9.969 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1218, allocations: 49.12 MB / 391.4 MB, free: 8.684 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.004056/0.1259, allocations: 2.006 MB / 393.4 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.1274, allocations: 0.624 MB / 394.1 MB, free: 6.035 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.1275, allocations: 0 / 394.1 MB, free: 6.035 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.192e-05/0.1276, allocations: 19.84 kB / 394.1 MB, free: 6.016 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001713/0.1277, allocations: 47.56 kB / 394.1 MB, free: 5.969 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004555/0.1282, allocations: 87.81 kB / 394.2 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002495/0.1285, allocations: 191.3 kB / 394.4 MB, free: 5.695 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001914/0.1286, allocations: 41.41 kB / 394.4 MB, free: 5.652 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002062/0.1288, allocations: 79.72 kB / 394.5 MB, free: 5.574 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.129, allocations: 83.61 kB / 394.6 MB, free: 5.492 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.606e-05/0.129, allocations: 16 kB / 394.6 MB, free: 5.477 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.336e-05/0.129, allocations: 16 kB / 394.6 MB, free: 5.461 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.996e-05/0.1291, allocations: 31.91 kB / 394.7 MB, free: 5.43 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.1292, allocations: 79.53 kB / 394.7 MB, free: 5.352 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000287/0.1295, allocations: 171.4 kB / 394.9 MB, free: 5.184 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1295, allocations: 0 / 394.9 MB, free: 5.184 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.1295, allocations: 4 kB / 394.9 MB, free: 5.18 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.1295, allocations: 3.938 kB / 394.9 MB, free: 5.176 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.0009565/0.1305, allocations: 482.5 kB / 395.4 MB, free: 4.656 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.1305, allocations: 12.03 kB / 395.4 MB, free: 4.645 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.974e-05/0.1306, allocations: 38.75 kB / 395.4 MB, free: 4.598 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.494e-05/0.1306, allocations: 16.84 kB / 395.4 MB, free: 4.582 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.1309, allocations: 200 kB / 395.6 MB, free: 4.348 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/0.1309, allocations: 12.31 kB / 395.6 MB, free: 4.336 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.708e-05/0.1309, allocations: 12.38 kB / 395.7 MB, free: 4.324 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003804/0.1313, allocations: 148.3 kB / 395.8 MB, free: 4.164 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.1313, allocations: 8 kB / 395.8 MB, free: 4.156 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.1314, allocations: 0 / 395.8 MB, free: 4.156 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.1314, allocations: 4 kB / 395.8 MB, free: 4.152 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003115/0.1317, allocations: 91.94 kB / 395.9 MB, free: 4.062 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00123/0.1329, allocations: 0.5071 MB / 396.4 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003297/0.1332, allocations: 98.47 kB / 396.5 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002237/0.1335, allocations: 68.83 kB / 396.6 MB, free: 3.324 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.1335, allocations: 4.141 kB / 396.6 MB, free: 3.32 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.1335, allocations: 34.5 kB / 396.6 MB, free: 3.277 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.1335, allocations: 0 / 396.6 MB, free: 3.277 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005162/0.134, allocations: 153.5 kB / 396.8 MB, free: 3.121 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.45e-05/0.1341, allocations: 106.8 kB / 396.9 MB, free: 2.992 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/0.1343, allocations: 158.2 kB / 397 MB, free: 2.828 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.1343, allocations: 25.7 kB / 397 MB, free: 2.797 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.1344, allocations: 123.9 kB / 397.2 MB, free: 2.672 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.69e-05/0.1345, allocations: 31.73 kB / 397.2 MB, free: 2.641 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.354e-05/0.1346, allocations: 29.7 kB / 397.2 MB, free: 2.605 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.1347, allocations: 322.8 kB / 397.5 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.1348, allocations: 39.97 kB / 397.6 MB, free: 2.242 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/0.135, allocations: 84.2 kB / 397.7 MB, free: 2.145 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002745/0.1353, allocations: 106.4 kB / 397.8 MB, free: 2.031 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.1353, allocations: 0 / 397.8 MB, free: 2.031 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003796/0.1357, allocations: 149.5 kB / 397.9 MB, free: 1.879 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.1357, allocations: 7.906 kB / 397.9 MB, free: 1.871 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.1357, allocations: 7.984 kB / 397.9 MB, free: 1.863 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.548e-05/0.1357, allocations: 4 kB / 397.9 MB, free: 1.859 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006235/0.1364, allocations: 79.92 kB / 398 MB, free: 1.781 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001732/0.1381, allocations: 1.508 MB / 399.5 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.1383, allocations: 19.95 kB / 399.5 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.1383, allocations: 7.984 kB / 399.5 MB, free: 100 kB / 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 0.0001726/0.1385, allocations: 121.9 kB / 399.7 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.91e-05/0.1385, allocations: 11.91 kB / 399.7 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005067/0.1391, allocations: 159.1 kB / 399.8 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.1391, allocations: 3.938 kB / 399.8 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.1391, allocations: 3.938 kB / 399.8 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1391, allocations: 4 kB / 399.8 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009273/0.14, allocations: 464 kB / 400.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.14, allocations: 0 / 400.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001532/0.1401, allocations: 28 kB / 400.3 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002366/0.1404, allocations: 28.84 kB / 400.4 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.1404, allocations: 0 / 400.4 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001371/0.1418, allocations: 1.402 MB / 401.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.1418, allocations: 4 kB / 401.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006568/0.1424, allocations: 293.7 kB / 402 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.814e-05/0.1425, allocations: 93.11 kB / 402.1 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.81e-05/0.1425, allocations: 7.938 kB / 402.1 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.1427, allocations: 11.98 kB / 402.2 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/0.1427, allocations: 7.984 kB / 402.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-05/0.1428, allocations: 8 kB / 402.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001194/0.1429, allocations: 119.9 kB / 402.3 MB, free: 13.09 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1429, allocations: 0 / 402.3 MB, free: 13.09 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000352/0.1432, allocations: 43.89 kB / 402.3 MB, free: 13.05 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.00108/0.1443, allocations: 0.8312 MB / 403.2 MB, free: 12.18 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007618/0.1451, allocations: 132 kB / 403.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.1451, allocations: 0 / 403.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004138/0.1455, allocations: 170.5 kB / 403.5 MB, free: 11.88 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.1458, allocations: 12 kB / 403.5 MB, free: 11.86 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00407/0.1499, allocations: 2.091 MB / 405.6 MB, free: 9.676 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004196/0.1503, allocations: 0.7157 MB / 406.3 MB, free: 8.934 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.562e-05/0.1504, allocations: 8.562 kB / 406.3 MB, free: 8.926 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.257e-05/0.1504, allocations: 47.41 kB / 406.3 MB, free: 8.883 MB / 334.1 MB Notification: Performance of SimCode: time 1.433e-06/0.1504, allocations: 0 / 406.3 MB, free: 8.883 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03589/0.1863, allocations: 3.361 MB / 409.7 MB, free: 5.469 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.4, allocations: 11.92 kB / 409.7 MB, free: 5.457 MB / 334.1 MB " [Timeout remaining time 648] (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: 15.27449653999065]