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.001459/0.001459, allocations: 121.4 kB / 19.17 MB, free: 3.898 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.001803/0.001803, allocations: 203.9 kB / 22.12 MB, free: 0.9609 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.579/1.579, allocations: 207.6 MB / 232.5 MB, free: 3.953 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="cs",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.002086/0.002086, allocations: 51.92 kB / 343 MB, free: 9.988 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1135, allocations: 49.12 MB / 392.1 MB, free: 8.703 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.004037/0.1175, allocations: 2.007 MB / 394.1 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001355/0.1188, allocations: 0.6162 MB / 394.8 MB, free: 6.062 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001463/0.119, allocations: 4 kB / 394.8 MB, free: 6.059 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.986e-05/0.1191, allocations: 19.8 kB / 394.8 MB, free: 6.039 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001923/0.1193, allocations: 43.62 kB / 394.8 MB, free: 5.996 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004161/0.1197, allocations: 103.7 kB / 394.9 MB, free: 5.895 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002889/0.12, allocations: 179.3 kB / 395.1 MB, free: 5.719 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001838/0.1202, allocations: 41.41 kB / 395.1 MB, free: 5.676 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002464/0.1204, allocations: 87.64 kB / 395.2 MB, free: 5.59 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.1205, allocations: 83.67 kB / 395.3 MB, free: 5.508 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.738e-05/0.1206, allocations: 16 kB / 395.3 MB, free: 5.492 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.189e-05/0.1206, allocations: 16 kB / 395.3 MB, free: 5.477 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.787e-05/0.1206, allocations: 35.84 kB / 395.4 MB, free: 5.441 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.808e-05/0.1207, allocations: 71.66 kB / 395.4 MB, free: 5.371 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002577/0.121, allocations: 171.3 kB / 395.6 MB, free: 5.203 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.121, allocations: 0 / 395.6 MB, free: 5.203 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.121, allocations: 0 / 395.6 MB, free: 5.203 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.121, allocations: 0 / 395.6 MB, free: 5.203 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.0008796/0.1219, allocations: 482.5 kB / 396.1 MB, free: 4.684 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.1219, allocations: 15.97 kB / 396.1 MB, free: 4.668 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.252e-05/0.122, allocations: 192 / 396.1 MB, free: 4.668 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.644e-05/0.122, allocations: 46.73 kB / 396.1 MB, free: 4.613 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.917e-05/0.1221, allocations: 16.84 kB / 396.2 MB, free: 4.598 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.1223, allocations: 204 kB / 396.4 MB, free: 4.359 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.853e-05/0.1223, allocations: 8.375 kB / 396.4 MB, free: 4.352 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.457e-05/0.1223, allocations: 12.38 kB / 396.4 MB, free: 4.34 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003488/0.1227, allocations: 152.1 kB / 396.5 MB, free: 4.176 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.1227, allocations: 0 / 396.5 MB, free: 4.176 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/0.1227, allocations: 8 kB / 396.5 MB, free: 4.168 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.1227, allocations: 4 kB / 396.5 MB, free: 4.164 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002802/0.123, allocations: 91.94 kB / 396.6 MB, free: 4.074 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.124, allocations: 0.5071 MB / 397.1 MB, free: 3.512 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003358/0.1243, allocations: 98.47 kB / 397.2 MB, free: 3.406 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/0.1246, allocations: 64.81 kB / 397.3 MB, free: 3.34 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.1246, allocations: 12.08 kB / 397.3 MB, free: 3.328 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/0.1246, allocations: 34.56 kB / 397.3 MB, free: 3.285 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.1246, allocations: 0 / 397.3 MB, free: 3.285 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.00049/0.1251, allocations: 145.8 kB / 397.5 MB, free: 3.137 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.003e-05/0.1252, allocations: 102.8 kB / 397.6 MB, free: 3.012 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.1254, allocations: 158.2 kB / 397.7 MB, free: 2.848 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.376e-05/0.1254, allocations: 29.7 kB / 397.8 MB, free: 2.812 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.218e-05/0.1255, allocations: 119.9 kB / 397.9 MB, free: 2.691 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.16e-05/0.1255, allocations: 23.75 kB / 397.9 MB, free: 2.668 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.794e-05/0.1256, allocations: 37.69 kB / 397.9 MB, free: 2.625 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.1258, allocations: 326.8 kB / 398.3 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.1259, allocations: 35.98 kB / 398.3 MB, free: 2.262 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.1261, allocations: 80.2 kB / 398.4 MB, free: 2.168 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002863/0.1264, allocations: 106.6 kB / 398.5 MB, free: 2.055 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1264, allocations: 3.938 kB / 398.5 MB, free: 2.051 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003858/0.1267, allocations: 165.4 kB / 398.6 MB, free: 1.883 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.1268, allocations: 8 kB / 398.6 MB, free: 1.875 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.1268, allocations: 0 / 398.6 MB, free: 1.875 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.1268, allocations: 0 / 398.6 MB, free: 1.875 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006046/0.1274, allocations: 79.92 kB / 398.7 MB, free: 1.797 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001849/0.1292, allocations: 1.504 MB / 400.2 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.1294, allocations: 23.95 kB / 400.3 MB, free: 124 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.1295, allocations: 4 kB / 400.3 MB, free: 120 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.0001835/0.1296, allocations: 125.8 kB / 400.4 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.726e-05/0.1297, allocations: 11.91 kB / 400.4 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005325/0.1302, allocations: 155.2 kB / 400.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.1302, allocations: 3.938 kB / 400.5 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.1302, allocations: 0 / 400.5 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1302, allocations: 0 / 400.5 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008987/0.1311, allocations: 468 kB / 401 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.1311, allocations: 7.938 kB / 401 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.1313, allocations: 19.98 kB / 401 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002501/0.1315, allocations: 32.86 kB / 401.1 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.1316, allocations: 4 kB / 401.1 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001411/0.133, allocations: 1.398 MB / 402.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.133, allocations: 0 / 402.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006665/0.1336, allocations: 301.1 kB / 402.8 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.513e-05/0.1337, allocations: 89.03 kB / 402.8 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.1337, allocations: 0 / 402.8 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.1339, allocations: 20.05 kB / 402.9 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.696e-05/0.134, allocations: 11.98 kB / 402.9 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.134, allocations: 0 / 402.9 MB, free: 13.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001399/0.1341, allocations: 123.9 kB / 403 MB, free: 13.11 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1341, allocations: 0 / 403 MB, free: 13.11 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003501/0.1345, allocations: 43.89 kB / 403 MB, free: 13.07 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.001232/0.1357, allocations: 0.8273 MB / 403.9 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008071/0.1365, allocations: 136.2 kB / 404 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.1365, allocations: 128 / 404 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003727/0.1369, allocations: 170.5 kB / 404.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.1371, allocations: 15.84 kB / 404.2 MB, free: 11.88 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004065/0.1412, allocations: 2.091 MB / 406.3 MB, free: 9.691 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004536/0.1417, allocations: 0.7196 MB / 407 MB, free: 8.945 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.917e-05/0.1417, allocations: 16.53 kB / 407 MB, free: 8.93 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.462e-05/0.1418, allocations: 39.42 kB / 407 MB, free: 8.895 MB / 334.1 MB Notification: Performance of SimCode: time 7.91e-07/0.1418, allocations: 0 / 407 MB, free: 8.895 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03047/0.1723, allocations: 3.396 MB / 410.4 MB, free: 5.445 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/11.81, allocations: 12.05 kB / 410.5 MB, free: 5.434 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor_fmu --startTime=0 --stopTime=6.2832 --stepSize=0.0100051 --timeout=50 --tolerance=1e-06 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.mat","/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: 14.472985317988787]