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.001351/0.001351, allocations: 113.4 kB / 17.72 MB, free: 5.445 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.001402/0.001402, allocations: 184.1 kB / 18.65 MB, free: 4.52 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.496/1.496, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001611/0.001611, allocations: 60.12 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09246/0.09408, allocations: 46.62 MB / 374.6 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003271/0.09739, allocations: 2.003 MB / 376.7 MB, free: 3.062 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.09846, allocations: 0.6045 MB / 377.3 MB, free: 2.449 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.853e-05/0.09854, allocations: 4 kB / 377.3 MB, free: 2.445 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.679e-05/0.09861, allocations: 15.8 kB / 377.3 MB, free: 2.43 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001403/0.09876, allocations: 43.62 kB / 377.3 MB, free: 2.387 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003363/0.0991, allocations: 107.7 kB / 377.4 MB, free: 2.281 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002139/0.09933, allocations: 175.3 kB / 377.6 MB, free: 2.109 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.09949, allocations: 53.45 kB / 377.6 MB, free: 2.055 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.09968, allocations: 83.7 kB / 377.7 MB, free: 1.973 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.09982, allocations: 79.61 kB / 377.8 MB, free: 1.895 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.696e-05/0.09986, allocations: 16 kB / 377.8 MB, free: 1.879 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.45e-05/0.09991, allocations: 20 kB / 377.8 MB, free: 1.859 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.388e-05/0.09996, allocations: 35.84 kB / 377.9 MB, free: 1.824 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.783e-05/0.1, allocations: 75.66 kB / 378 MB, free: 1.75 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002339/0.1003, allocations: 167.3 kB / 378.1 MB, free: 1.586 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.796e-06/0.1003, allocations: 7.984 kB / 378.1 MB, free: 1.578 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1003, allocations: 0 / 378.1 MB, free: 1.578 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.1003, allocations: 0 / 378.1 MB, free: 1.578 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.0008216/0.1011, allocations: 478.6 kB / 378.6 MB, free: 1.062 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.1012, allocations: 15.97 kB / 378.6 MB, free: 1.047 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.264e-05/0.1013, allocations: 42.73 kB / 378.6 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.731e-05/0.1013, allocations: 16.84 kB / 378.7 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.1015, allocations: 196.2 kB / 378.9 MB, free: 0.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.1015, allocations: 8.375 kB / 378.9 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.885e-05/0.1016, allocations: 8.375 kB / 378.9 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003335/0.1019, allocations: 164.1 kB / 379 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.1019, allocations: 0 / 379 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.102, allocations: 0 / 379 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.102, allocations: 4 kB / 379 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002807/0.1023, allocations: 95.94 kB / 379.1 MB, free: 472 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.168/0.2703, allocations: 0.5036 MB / 379.6 MB, free: 12.81 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003232/0.2706, allocations: 102.8 kB / 379.7 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002096/0.2708, allocations: 68.73 kB / 379.8 MB, free: 12.78 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.2709, allocations: 8.703 kB / 379.8 MB, free: 12.78 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.2709, allocations: 36.39 kB / 379.8 MB, free: 12.74 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 2.224e-06/0.2709, allocations: 2.906 kB / 379.8 MB, free: 12.74 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.000472/0.2714, allocations: 146.7 kB / 380 MB, free: 12.71 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.2714, allocations: 104.9 kB / 380.1 MB, free: 12.58 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.2716, allocations: 153.1 kB / 380.2 MB, free: 12.48 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.2716, allocations: 27.89 kB / 380.3 MB, free: 12.45 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.749e-05/0.2716, allocations: 125.6 kB / 380.4 MB, free: 12.37 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.2717, allocations: 26.42 kB / 380.4 MB, free: 12.36 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.923e-05/0.2717, allocations: 30.72 kB / 380.4 MB, free: 12.34 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.466e-05/0.2718, allocations: 324.1 kB / 380.8 MB, free: 12.03 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.2719, allocations: 37.06 kB / 380.8 MB, free: 12.03 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.2721, allocations: 81.09 kB / 380.9 MB, free: 11.99 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002289/0.2723, allocations: 102.7 kB / 381 MB, free: 11.97 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2723, allocations: 0 / 381 MB, free: 11.97 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003104/0.2726, allocations: 147.8 kB / 381.1 MB, free: 11.93 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.2727, allocations: 5.094 kB / 381.1 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.2727, allocations: 3.812 kB / 381.1 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.2727, allocations: 5.469 kB / 381.1 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005674/0.2733, allocations: 82.56 kB / 381.2 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001149/0.2744, allocations: 1.513 MB / 382.7 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001876/0.2746, allocations: 20.39 kB / 382.8 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.2747, allocations: 8.328 kB / 382.8 MB, free: 10.48 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 8.95e-05/0.2748, allocations: 133.2 kB / 382.9 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.581e-05/0.2748, allocations: 14.72 kB / 382.9 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004415/0.2753, allocations: 151.7 kB / 383.1 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.2753, allocations: 5.406 kB / 383.1 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.2753, allocations: 0 / 383.1 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.2753, allocations: 5.922 kB / 383.1 MB, free: 10.31 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007376/0.276, allocations: 458.1 kB / 383.5 MB, free: 10 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.276, allocations: 5.328 kB / 383.5 MB, free: 10 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001501/0.2762, allocations: 24.69 kB / 383.5 MB, free: 10 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002273/0.2764, allocations: 31.59 kB / 383.6 MB, free: 9.992 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.2765, allocations: 3.219 kB / 383.6 MB, free: 9.992 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007981/0.2773, allocations: 1.393 MB / 385 MB, free: 8.637 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.2773, allocations: 0.6562 kB / 385 MB, free: 8.637 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006351/0.2779, allocations: 300.1 kB / 385.3 MB, free: 8.473 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.429e-05/0.278, allocations: 85.55 kB / 385.3 MB, free: 8.375 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/0.278, allocations: 6.125 kB / 385.4 MB, free: 8.375 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.2782, allocations: 21.58 kB / 385.4 MB, free: 8.367 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.2782, allocations: 6.359 kB / 385.4 MB, free: 8.367 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.2782, allocations: 6.984 kB / 385.4 MB, free: 8.367 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001033/0.2783, allocations: 124.2 kB / 385.5 MB, free: 8.293 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2784, allocations: 0 / 385.5 MB, free: 8.293 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003133/0.2787, allocations: 39.14 kB / 385.5 MB, free: 8.289 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.0007177/0.2794, allocations: 0.8321 MB / 386.4 MB, free: 7.602 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006817/0.2801, allocations: 134.5 kB / 386.5 MB, free: 7.598 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2801, allocations: 5.406 kB / 386.5 MB, free: 7.594 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002809/0.2804, allocations: 167.4 kB / 386.7 MB, free: 7.48 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.2807, allocations: 7.219 kB / 386.7 MB, free: 7.48 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002955/0.2836, allocations: 2.089 MB / 388.8 MB, free: 5.941 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001881/0.2838, allocations: 0.7166 MB / 389.5 MB, free: 5.238 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.356e-05/0.2839, allocations: 13.09 kB / 389.5 MB, free: 5.234 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.41e-05/0.284, allocations: 42.23 kB / 389.5 MB, free: 5.203 MB / 318.1 MB Notification: Performance of SimCode: time 1.673e-06/0.284, allocations: 0 / 389.5 MB, free: 5.203 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0309/0.3149, allocations: 3.35 MB / 392.9 MB, free: 4.504 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/11.98, allocations: 12.8 kB / 392.9 MB, free: 4.492 MB / 318.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