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.00166/0.00166, allocations: 109.6 kB / 21.18 MB, free: 0.7188 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.001624/0.001624, allocations: 216.7 kB / 24.49 MB, free: 4.094 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.611/1.611, allocations: 207.6 MB / 235.3 MB, free: 10.01 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.001912/0.001912, allocations: 51.92 kB / 347.2 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3422, allocations: 49.16 MB / 396.4 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.002992/0.3452, allocations: 2.009 MB / 398.4 MB, free: 7.598 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009196/0.3461, allocations: 0.6192 MB / 399 MB, free: 7.16 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.576e-05/0.3462, allocations: 1.375 kB / 399 MB, free: 7.16 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.83e-05/0.3462, allocations: 19.77 kB / 399 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001341/0.3464, allocations: 44.14 kB / 399.1 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003538/0.3467, allocations: 98.97 kB / 399.1 MB, free: 7.059 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002034/0.3469, allocations: 182.6 kB / 399.3 MB, free: 6.973 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.3471, allocations: 34.44 kB / 399.4 MB, free: 6.953 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.3472, allocations: 83.16 kB / 399.4 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.3473, allocations: 87.69 kB / 399.5 MB, free: 6.867 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.23e-05/0.3474, allocations: 14.5 kB / 399.5 MB, free: 6.867 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.003e-05/0.3474, allocations: 15.94 kB / 399.6 MB, free: 6.867 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.212e-05/0.3474, allocations: 30.53 kB / 399.6 MB, free: 6.848 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.147e-05/0.3475, allocations: 74.81 kB / 399.7 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002215/0.3477, allocations: 173.6 kB / 399.8 MB, free: 6.742 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3477, allocations: 1.469 kB / 399.8 MB, free: 6.742 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3477, allocations: 0 / 399.8 MB, free: 6.742 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.3477, allocations: 3.938 kB / 399.8 MB, free: 6.738 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.0007276/0.3485, allocations: 406.8 kB / 400.2 MB, free: 6.402 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.3485, allocations: 17.23 kB / 400.2 MB, free: 6.395 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.524e-05/0.3486, allocations: 40.81 kB / 400.3 MB, free: 6.352 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.874e-05/0.3486, allocations: 16.75 kB / 400.3 MB, free: 6.344 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.3487, allocations: 142 kB / 400.4 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.3488, allocations: 9.672 kB / 400.5 MB, free: 6.191 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.296e-05/0.3488, allocations: 11.19 kB / 400.5 MB, free: 6.188 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003189/0.3491, allocations: 156.5 kB / 400.6 MB, free: 6.09 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.3491, allocations: 3.938 kB / 400.6 MB, free: 6.086 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.3491, allocations: 1.891 kB / 400.6 MB, free: 6.086 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.3491, allocations: 6.625 kB / 400.6 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002719/0.3494, allocations: 91.44 kB / 400.7 MB, free: 6.059 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008841/0.3503, allocations: 493.9 kB / 401.2 MB, free: 5.684 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003344/0.3506, allocations: 100.1 kB / 401.3 MB, free: 5.637 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002039/0.3508, allocations: 63.02 kB / 401.4 MB, free: 5.613 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.3509, allocations: 5.844 kB / 401.4 MB, free: 5.609 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.3509, allocations: 39.62 kB / 401.4 MB, free: 5.562 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.3509, allocations: 1.125 kB / 401.4 MB, free: 5.562 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004627/0.3513, allocations: 146.8 kB / 401.5 MB, free: 5.496 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.3514, allocations: 104.6 kB / 401.7 MB, free: 5.371 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.3515, allocations: 151.3 kB / 401.8 MB, free: 5.258 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.3515, allocations: 31.81 kB / 401.8 MB, free: 5.223 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.129e-05/0.3516, allocations: 124.1 kB / 402 MB, free: 5.109 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.3516, allocations: 28.77 kB / 402 MB, free: 5.086 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.906e-05/0.3517, allocations: 32.44 kB / 402 MB, free: 5.062 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.237e-05/0.3517, allocations: 325.2 kB / 402.3 MB, free: 4.742 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.3519, allocations: 35.75 kB / 402.4 MB, free: 4.734 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.352, allocations: 77.03 kB / 402.4 MB, free: 4.68 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002351/0.3522, allocations: 106 kB / 402.5 MB, free: 4.621 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3522, allocations: 1.469 kB / 402.5 MB, free: 4.621 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003276/0.3526, allocations: 161.3 kB / 402.7 MB, free: 4.535 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.3526, allocations: 4.812 kB / 402.7 MB, free: 4.535 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.3526, allocations: 1.469 kB / 402.7 MB, free: 4.535 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.3526, allocations: 2.016 kB / 402.7 MB, free: 4.535 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006155/0.3532, allocations: 80.86 kB / 402.8 MB, free: 4.535 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001127/0.3544, allocations: 1.4 MB / 404.2 MB, free: 3.145 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.3545, allocations: 26.86 kB / 404.2 MB, free: 3.133 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.3546, allocations: 3.828 kB / 404.2 MB, free: 3.133 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 7.885e-05/0.3546, allocations: 120.7 kB / 404.3 MB, free: 3.012 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.041e-05/0.3547, allocations: 14.95 kB / 404.4 MB, free: 3.004 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004566/0.3551, allocations: 156.8 kB / 404.5 MB, free: 2.926 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.3551, allocations: 5.219 kB / 404.5 MB, free: 2.922 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.3551, allocations: 0 / 404.5 MB, free: 2.922 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.3551, allocations: 0 / 404.5 MB, free: 2.922 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006806/0.3558, allocations: 434.6 kB / 404.9 MB, free: 2.582 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.3558, allocations: 0.9375 kB / 404.9 MB, free: 2.582 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.356, allocations: 21.38 kB / 405 MB, free: 2.582 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002406/0.3562, allocations: 33.97 kB / 405 MB, free: 2.566 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.3562, allocations: 5.781 kB / 405 MB, free: 2.562 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008126/0.357, allocations: 1.299 MB / 406.3 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.357, allocations: 5 kB / 406.3 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005549/0.3576, allocations: 298.9 kB / 406.6 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.158e-05/0.3576, allocations: 13.61 kB / 406.6 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.3576, allocations: 6.062 kB / 406.6 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.3578, allocations: 21.48 kB / 406.6 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.493e-05/0.3578, allocations: 8 kB / 406.6 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.3579, allocations: 2.25 kB / 406.6 MB, free: 1.043 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.203e-05/0.3579, allocations: 121.1 kB / 406.8 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3579, allocations: 0 / 406.8 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003275/0.3583, allocations: 39.86 kB / 406.8 MB, free: 0.9453 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.0007244/0.359, allocations: 0.8295 MB / 407.6 MB, free: 220 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007017/0.3597, allocations: 130.9 kB / 407.8 MB, free: 196 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3597, allocations: 4.125 kB / 407.8 MB, free: 192 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002901/0.36, allocations: 162.5 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.0002553/0.3602, allocations: 12.27 kB / 407.9 MB, free: 56 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0037/0.3639, allocations: 2.102 MB / 410 MB, free: 14.49 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004311/0.3644, allocations: 0.7118 MB / 410.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.821e-05/0.3644, allocations: 15.28 kB / 410.8 MB, free: 13.78 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.489e-05/0.3645, allocations: 45.64 kB / 410.8 MB, free: 13.75 MB / 334.1 MB Notification: Performance of SimCode: time 4.5e-07/0.3645, allocations: 0 / 410.8 MB, free: 13.75 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03476/0.3993, allocations: 3.435 MB / 414.2 MB, free: 12.49 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.41/13.81, allocations: 4.781 kB / 414.2 MB, free: 12.48 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 & /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: 16.417594604194164]