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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 96.27 kB / 17.58 MB, free: 5.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 192.1 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.499/1.499, allocations: 205.1 MB / 224.4 MB, free: 12.31 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 51.94 kB / 280.8 MB, free: 3.074 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06961/0.07076, allocations: 46.63 MB / 327.4 MB, free: 4.379 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.002795/0.07359, allocations: 1.994 MB / 329.4 MB, free: 2.359 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009062/0.07452, allocations: 0.6133 MB / 330 MB, free: 1.738 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.28e-05/0.07463, allocations: 4 kB / 330 MB, free: 1.734 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 5.677e-05/0.0747, allocations: 19.78 kB / 330 MB, free: 1.715 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001322/0.07483, allocations: 39.64 kB / 330.1 MB, free: 1.676 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003045/0.07515, allocations: 95.8 kB / 330.1 MB, free: 1.582 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.07531, allocations: 183.2 kB / 330.3 MB, free: 1.402 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.07545, allocations: 53.41 kB / 330.4 MB, free: 1.348 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001436/0.0756, allocations: 79.7 kB / 330.5 MB, free: 1.27 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.583e-05/0.0757, allocations: 75.69 kB / 330.5 MB, free: 1.195 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.813e-05/0.07574, allocations: 12 kB / 330.5 MB, free: 1.184 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.184e-05/0.07577, allocations: 20 kB / 330.6 MB, free: 1.164 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.471e-05/0.07581, allocations: 43.77 kB / 330.6 MB, free: 1.121 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.078e-05/0.07589, allocations: 75.66 kB / 330.7 MB, free: 1.047 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.07608, allocations: 175.6 kB / 330.9 MB, free: 0.875 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.07609, allocations: 0 / 330.9 MB, free: 0.875 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.07609, allocations: 0 / 330.9 MB, free: 0.875 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.0761, allocations: 0 / 330.9 MB, free: 0.875 MB / 270.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.0006835/0.07679, allocations: 478.8 kB / 331.3 MB, free: 368 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.07683, allocations: 8.031 kB / 331.3 MB, free: 360 kB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.869e-05/0.07687, allocations: 38.75 kB / 331.4 MB, free: 312 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.165e-05/0.07692, allocations: 12.84 kB / 331.4 MB, free: 300 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.07708, allocations: 200 kB / 331.6 MB, free: 60 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.07709, allocations: 8.375 kB / 331.6 MB, free: 52 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/0.07712, allocations: 4.375 kB / 331.6 MB, free: 48 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002991/0.07743, allocations: 164.1 kB / 331.7 MB, free: 15.87 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.07745, allocations: 0 / 331.7 MB, free: 15.87 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.07747, allocations: 4 kB / 331.7 MB, free: 15.87 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.07748, allocations: 4 kB / 331.8 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002676/0.07775, allocations: 95.94 kB / 331.8 MB, free: 15.77 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008268/0.07859, allocations: 0.507 MB / 332.4 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002712/0.07887, allocations: 106.5 kB / 332.5 MB, free: 15.09 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/0.07906, allocations: 68.83 kB / 332.5 MB, free: 15.02 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.07908, allocations: 0 / 332.5 MB, free: 15.02 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.07911, allocations: 42.5 kB / 332.6 MB, free: 14.97 MB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 9.21e-07/0.07912, allocations: 0 / 332.6 MB, free: 14.97 MB / 286.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004209/0.07954, allocations: 145.7 kB / 332.7 MB, free: 14.82 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.0796, allocations: 106.8 kB / 332.8 MB, free: 14.69 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.07972, allocations: 154.1 kB / 333 MB, free: 14.53 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.07975, allocations: 29.7 kB / 333 MB, free: 14.5 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.685e-05/0.07982, allocations: 119.8 kB / 333.1 MB, free: 14.38 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.07985, allocations: 31.58 kB / 333.1 MB, free: 14.34 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.236e-05/0.07991, allocations: 33.7 kB / 333.2 MB, free: 14.3 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.08002, allocations: 326.8 kB / 333.5 MB, free: 13.98 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.08015, allocations: 31.98 kB / 333.5 MB, free: 13.95 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.0803, allocations: 84.19 kB / 333.6 MB, free: 13.85 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002244/0.08053, allocations: 102.5 kB / 333.7 MB, free: 13.74 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.08055, allocations: 0 / 333.7 MB, free: 13.74 MB / 286.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003113/0.08086, allocations: 153.4 kB / 333.9 MB, free: 13.58 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.08088, allocations: 4 kB / 333.9 MB, free: 13.58 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.0809, allocations: 4 kB / 333.9 MB, free: 13.57 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.08091, allocations: 0 / 333.9 MB, free: 13.57 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005283/0.08144, allocations: 83.91 kB / 333.9 MB, free: 13.49 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001223/0.08268, allocations: 1.508 MB / 335.5 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.08285, allocations: 27.86 kB / 335.5 MB, free: 11.81 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.08287, allocations: 0 / 335.5 MB, free: 11.81 MB / 286.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 8.68e-05/0.08297, allocations: 129.8 kB / 335.6 MB, free: 11.68 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.575e-05/0.08301, allocations: 11.89 kB / 335.6 MB, free: 11.66 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004092/0.08342, allocations: 147.2 kB / 335.8 MB, free: 11.51 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.08344, allocations: 3.984 kB / 335.8 MB, free: 11.5 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.08345, allocations: 11.98 kB / 335.8 MB, free: 11.49 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.08346, allocations: 3.938 kB / 335.8 MB, free: 11.49 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006662/0.08413, allocations: 464.4 kB / 336.2 MB, free: 10.97 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.08414, allocations: 0 / 336.2 MB, free: 10.97 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001297/0.08428, allocations: 32.02 kB / 336.3 MB, free: 10.94 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001839/0.08447, allocations: 24.83 kB / 336.3 MB, free: 10.91 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.08449, allocations: 4 kB / 336.3 MB, free: 10.91 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009673/0.08547, allocations: 1.394 MB / 337.7 MB, free: 9.379 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.08548, allocations: 0 / 337.7 MB, free: 9.379 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000541/0.08603, allocations: 297.2 kB / 338 MB, free: 9.066 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.641e-05/0.08608, allocations: 88.95 kB / 338.1 MB, free: 8.961 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.08611, allocations: 7.922 kB / 338.1 MB, free: 8.953 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.08628, allocations: 19.98 kB / 338.1 MB, free: 8.934 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.08632, allocations: 0 / 338.1 MB, free: 8.934 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.08634, allocations: 4 kB / 338.1 MB, free: 8.93 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.824e-05/0.08642, allocations: 123.3 kB / 338.2 MB, free: 8.809 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08643, allocations: 0 / 338.2 MB, free: 8.809 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002706/0.0867, allocations: 39.94 kB / 338.3 MB, free: 8.77 MB / 286.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.0007753/0.08748, allocations: 0.831 MB / 339.1 MB, free: 7.906 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000662/0.08816, allocations: 143.8 kB / 339.2 MB, free: 7.766 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.08817, allocations: 0 / 339.2 MB, free: 7.766 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002866/0.08846, allocations: 166.7 kB / 339.4 MB, free: 7.59 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.08871, allocations: 12 kB / 339.4 MB, free: 7.578 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003024/0.09174, allocations: 2.107 MB / 341.5 MB, free: 5.379 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.09207, allocations: 0.7118 MB / 342.2 MB, free: 4.641 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.62e-05/0.09213, allocations: 8.562 kB / 342.2 MB, free: 4.633 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.159e-05/0.09221, allocations: 47.64 kB / 342.3 MB, free: 4.586 MB / 286.1 MB Notification: Performance of SimCode: time 3e-07/0.09222, allocations: 0 / 342.3 MB, free: 4.586 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05351/0.1457, allocations: 3.251 MB / 345.5 MB, free: 1.277 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.43, allocations: 15.91 kB / 345.5 MB, free: 1.262 MB / 286.1 MB (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 --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) 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) Reference file matches