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.0009116/0.0009113, allocations: 96.62 kB / 17.3 MB, free: 6.391 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.001116/0.001116, allocations: 172.5 kB / 18.2 MB, free: 5.551 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.557/1.557, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004403/0.0004403, allocations: 12 kB / 281.5 MB, free: 3.316 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1095, allocations: 47.59 MB / 329.1 MB, free: 3.664 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.002726/0.1123, allocations: 1.721 MB / 330.8 MB, free: 1.926 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.1135, allocations: 0.5854 MB / 331.4 MB, free: 1.332 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.1137, allocations: 4 kB / 331.4 MB, free: 1.328 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 5.541e-05/0.1137, allocations: 11.92 kB / 331.4 MB, free: 1.316 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001799/0.1139, allocations: 39.69 kB / 331.4 MB, free: 1.277 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003968/0.1143, allocations: 75.84 kB / 331.5 MB, free: 1.203 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002525/0.1146, allocations: 167.3 kB / 331.7 MB, free: 1.039 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.1148, allocations: 45.45 kB / 331.7 MB, free: 0.9922 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002255/0.115, allocations: 75.7 kB / 331.8 MB, free: 0.918 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.1151, allocations: 75.67 kB / 331.9 MB, free: 0.8438 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.046e-05/0.1152, allocations: 8 kB / 331.9 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.838e-05/0.1152, allocations: 8 kB / 331.9 MB, free: 0.8281 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.87e-05/0.1153, allocations: 27.8 kB / 331.9 MB, free: 0.8008 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.963e-05/0.1154, allocations: 97.34 kB / 332 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.1156, allocations: 159.6 kB / 332.1 MB, free: 0.543 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1156, allocations: 0 / 332.1 MB, free: 0.543 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1156, allocations: 0 / 332.1 MB, free: 0.543 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.1156, allocations: 0 / 332.1 MB, free: 0.543 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.0007942/0.1164, allocations: 446.9 kB / 332.6 MB, free: 60 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.1164, allocations: 12.03 kB / 332.6 MB, free: 48 kB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.925e-05/0.1165, allocations: 38.75 kB / 332.6 MB, free: 0 / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.819e-05/0.1166, allocations: 24.78 kB / 332.7 MB, free: 15.97 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.1168, allocations: 192.1 kB / 332.8 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.1168, allocations: 8.375 kB / 332.9 MB, free: 15.74 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.544e-05/0.1169, allocations: 12.38 kB / 332.9 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003571/0.1173, allocations: 160.1 kB / 333 MB, free: 15.55 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.1173, allocations: 4 kB / 333 MB, free: 15.55 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.1173, allocations: 3.938 kB / 333 MB, free: 15.55 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.1173, allocations: 4 kB / 333 MB, free: 15.54 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002944/0.1176, allocations: 95.94 kB / 333.1 MB, free: 15.45 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009953/0.1186, allocations: 0.5109 MB / 333.6 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003315/0.119, allocations: 114.5 kB / 333.7 MB, free: 14.76 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/0.1192, allocations: 68.83 kB / 333.8 MB, free: 14.69 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.1192, allocations: 4 kB / 333.8 MB, free: 14.68 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.1193, allocations: 34.5 kB / 333.9 MB, free: 14.64 MB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 1.153e-06/0.1193, allocations: 0 / 333.9 MB, free: 14.64 MB / 286.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004993/0.1198, allocations: 149.5 kB / 334 MB, free: 14.49 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.546e-05/0.1198, allocations: 106.8 kB / 334.1 MB, free: 14.36 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.12, allocations: 158.1 kB / 334.3 MB, free: 14.2 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.12, allocations: 29.7 kB / 334.3 MB, free: 14.16 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.101e-05/0.1201, allocations: 119.7 kB / 334.4 MB, free: 14.04 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.1201, allocations: 27.64 kB / 334.4 MB, free: 14.01 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.401e-05/0.1202, allocations: 17.72 kB / 334.4 MB, free: 13.99 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.1203, allocations: 326.8 kB / 334.8 MB, free: 13.66 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.1204, allocations: 43.97 kB / 334.8 MB, free: 13.62 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/0.1206, allocations: 76.36 kB / 334.9 MB, free: 13.53 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002635/0.1209, allocations: 110.4 kB / 335 MB, free: 13.41 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1209, allocations: 0 / 335 MB, free: 13.41 MB / 286.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003356/0.1212, allocations: 157.7 kB / 335.1 MB, free: 13.25 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.1213, allocations: 8 kB / 335.2 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.1213, allocations: 0 / 335.2 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.1213, allocations: 0 / 335.2 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000577/0.1219, allocations: 87.94 kB / 335.2 MB, free: 13.16 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001524/0.1234, allocations: 1.405 MB / 336.6 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/0.1236, allocations: 19.89 kB / 336.7 MB, free: 11.6 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.1236, allocations: 8 kB / 336.7 MB, free: 11.59 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 0.0001185/0.1237, allocations: 125.8 kB / 336.8 MB, free: 11.46 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.1238, allocations: 11.91 kB / 336.8 MB, free: 11.45 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000454/0.1243, allocations: 159.2 kB / 337 MB, free: 11.28 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.1243, allocations: 4 kB / 337 MB, free: 11.27 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1243, allocations: 4 kB / 337 MB, free: 11.27 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.902e-06/0.1243, allocations: 0 / 337 MB, free: 11.27 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000762/0.1251, allocations: 479.9 kB / 337.4 MB, free: 10.74 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.1251, allocations: 0 / 337.4 MB, free: 10.74 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001328/0.1252, allocations: 19.98 kB / 337.5 MB, free: 10.72 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002756/0.1255, allocations: 44.8 kB / 337.5 MB, free: 10.67 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.1255, allocations: 3.984 kB / 337.5 MB, free: 10.67 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001024/0.1266, allocations: 1.3 MB / 338.8 MB, free: 9.238 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1266, allocations: 0 / 338.8 MB, free: 9.238 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006026/0.1272, allocations: 305 kB / 339.1 MB, free: 8.918 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.026e-05/0.1272, allocations: 92.94 kB / 339.2 MB, free: 8.809 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.1273, allocations: 4 kB / 339.2 MB, free: 8.805 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.1274, allocations: 24.05 kB / 339.2 MB, free: 8.781 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.1275, allocations: 7.984 kB / 339.2 MB, free: 8.773 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.1275, allocations: 0 / 339.2 MB, free: 8.773 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001049/0.1276, allocations: 123.2 kB / 339.4 MB, free: 8.652 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1276, allocations: 0 / 339.4 MB, free: 8.652 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002926/0.1279, allocations: 39.94 kB / 339.4 MB, free: 8.613 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.000926/0.1289, allocations: 0.8311 MB / 340.2 MB, free: 7.75 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006687/0.1295, allocations: 147.9 kB / 340.4 MB, free: 7.605 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1295, allocations: 0 / 340.4 MB, free: 7.605 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003153/0.1299, allocations: 158.7 kB / 340.5 MB, free: 7.438 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.1301, allocations: 12 kB / 340.5 MB, free: 7.426 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003179/0.1333, allocations: 2.204 MB / 342.7 MB, free: 5.129 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.1336, allocations: 0.7196 MB / 343.5 MB, free: 4.383 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.312e-05/0.1337, allocations: 12.55 kB / 343.5 MB, free: 4.371 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.833e-05/0.1338, allocations: 43.42 kB / 343.5 MB, free: 4.328 MB / 286.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1338, allocations: 0 / 343.5 MB, free: 4.328 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01502/0.1488, allocations: 2.978 MB / 346.5 MB, free: 1.355 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003224/0.1492, allocations: 235.5 kB / 346.7 MB, free: 1.105 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.885/2.034, allocations: 7.938 kB / 346.7 MB, free: 1.098 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","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches