Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001877/0.001877, allocations: 108.7 kB / 17.33 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002365/0.002365, allocations: 205.8 kB / 18.26 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.657/1.657, allocations: 227.4 MB / 246.4 MB, free: 10.76 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001302, allocations: 60.94 kB / 306.6 MB, free: 0.8438 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1021, allocations: 50.53 MB / 357.1 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003373/0.1055, allocations: 2.119 MB / 359.2 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.1067, allocations: 0.6467 MB / 359.8 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.1068, allocations: 3.938 kB / 359.9 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.876e-05/0.1069, allocations: 19.84 kB / 359.9 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001612/0.1071, allocations: 35.7 kB / 359.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004043/0.1075, allocations: 87.39 kB / 360 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002366/0.1077, allocations: 183.3 kB / 360.2 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001756/0.1079, allocations: 57.52 kB / 360.2 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002462/0.1082, allocations: 95.62 kB / 360.3 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.1083, allocations: 71.69 kB / 360.4 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.034e-05/0.1083, allocations: 16 kB / 360.4 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.785e-05/0.1084, allocations: 24 kB / 360.4 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.932e-05/0.1085, allocations: 39.83 kB / 360.5 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.52e-05/0.1086, allocations: 79.59 kB / 360.5 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.1088, allocations: 187.6 kB / 360.7 MB, free: 10.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1088, allocations: 0 / 360.7 MB, free: 10.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.011e-06/0.1088, allocations: 0 / 360.7 MB, free: 10.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.1088, allocations: 0 / 360.7 MB, free: 10.64 MB / 302.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.0007866/0.1096, allocations: 474.8 kB / 361.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.1097, allocations: 8.031 kB / 361.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.35e-05/0.1097, allocations: 46.73 kB / 361.2 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003939/0.1101, allocations: 48.72 kB / 361.3 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.1104, allocations: 220 kB / 361.5 MB, free: 9.762 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.1104, allocations: 8.375 kB / 361.5 MB, free: 9.754 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.854e-05/0.1104, allocations: 12.38 kB / 361.5 MB, free: 9.742 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00032/0.1108, allocations: 156.2 kB / 361.7 MB, free: 9.574 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.1108, allocations: 3.938 kB / 361.7 MB, free: 9.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.1108, allocations: 4 kB / 361.7 MB, free: 9.566 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.1108, allocations: 4 kB / 361.7 MB, free: 9.562 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002964/0.1111, allocations: 98.98 kB / 361.8 MB, free: 9.469 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008964/0.112, allocations: 0.5031 MB / 362.3 MB, free: 8.906 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003169/0.1124, allocations: 98.53 kB / 362.4 MB, free: 8.801 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001876/0.1126, allocations: 68.83 kB / 362.5 MB, free: 8.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.1126, allocations: 0 / 362.5 MB, free: 8.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.1126, allocations: 46.58 kB / 362.5 MB, free: 8.676 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.1126, allocations: 0 / 362.5 MB, free: 8.676 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004847/0.1131, allocations: 149.5 kB / 362.6 MB, free: 8.523 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.656e-05/0.1132, allocations: 102.8 kB / 362.7 MB, free: 8.398 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.1134, allocations: 163.9 kB / 362.9 MB, free: 8.23 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.984e-05/0.1134, allocations: 29.7 kB / 362.9 MB, free: 8.195 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.1135, allocations: 119.8 kB / 363.1 MB, free: 8.074 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.251e-05/0.1136, allocations: 31.56 kB / 363.1 MB, free: 8.043 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.668e-05/0.1136, allocations: 37.69 kB / 363.1 MB, free: 8 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.1138, allocations: 314.8 kB / 363.4 MB, free: 7.684 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.114, allocations: 47.91 kB / 363.5 MB, free: 7.637 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/0.1142, allocations: 80.2 kB / 363.6 MB, free: 7.543 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00028/0.1144, allocations: 94.53 kB / 363.6 MB, free: 7.441 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1145, allocations: 0 / 363.6 MB, free: 7.441 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003544/0.1148, allocations: 153.4 kB / 363.8 MB, free: 7.285 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.1148, allocations: 8 kB / 363.8 MB, free: 7.277 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.1149, allocations: 0 / 363.8 MB, free: 7.277 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.1149, allocations: 0 / 363.8 MB, free: 7.277 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006515/0.1155, allocations: 87.89 kB / 363.9 MB, free: 7.191 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001677/0.1172, allocations: 1.504 MB / 365.4 MB, free: 5.543 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.1174, allocations: 19.95 kB / 365.4 MB, free: 5.523 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.1174, allocations: 4.125 kB / 365.4 MB, free: 5.52 MB / 302.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.0001097/0.1176, allocations: 129.7 kB / 365.5 MB, free: 5.383 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.889e-05/0.1176, allocations: 11.91 kB / 365.6 MB, free: 5.371 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004788/0.1181, allocations: 159.1 kB / 365.7 MB, free: 5.203 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1181, allocations: 3.938 kB / 365.7 MB, free: 5.199 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.1181, allocations: 0 / 365.7 MB, free: 5.199 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1181, allocations: 0 / 365.7 MB, free: 5.199 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007643/0.1189, allocations: 472.4 kB / 366.2 MB, free: 4.676 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.1189, allocations: 4 kB / 366.2 MB, free: 4.672 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/0.1191, allocations: 23.92 kB / 366.2 MB, free: 4.648 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002242/0.1193, allocations: 28.83 kB / 366.2 MB, free: 4.617 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.1193, allocations: 4 kB / 366.2 MB, free: 4.613 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001145/0.1205, allocations: 1.395 MB / 367.6 MB, free: 3.082 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.1205, allocations: 0 / 367.6 MB, free: 3.082 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005856/0.1211, allocations: 297.2 kB / 367.9 MB, free: 2.77 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.244e-05/0.1212, allocations: 85.05 kB / 368 MB, free: 2.668 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.334e-05/0.1212, allocations: 11.94 kB / 368 MB, free: 2.656 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.1214, allocations: 15.92 kB / 368 MB, free: 2.641 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.073e-05/0.1215, allocations: 20.03 kB / 368.1 MB, free: 2.621 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.1215, allocations: 4 kB / 368.1 MB, free: 2.617 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.928e-05/0.1216, allocations: 119.2 kB / 368.2 MB, free: 2.5 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1216, allocations: 0 / 368.2 MB, free: 2.5 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002946/0.1219, allocations: 39.84 kB / 368.2 MB, free: 2.461 MB / 302.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.0008911/0.1228, allocations: 0.831 MB / 369 MB, free: 1.598 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007521/0.1236, allocations: 143.9 kB / 369.2 MB, free: 1.457 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1236, allocations: 3.938 kB / 369.2 MB, free: 1.453 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003331/0.1239, allocations: 162.8 kB / 369.3 MB, free: 1.281 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.1242, allocations: 8 kB / 369.4 MB, free: 1.273 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1776/0.3018, allocations: 2.142 MB / 371.5 MB, free: 19.2 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001557/0.302, allocations: 0.7097 MB / 372.2 MB, free: 18.51 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.336e-05/0.3021, allocations: 14.58 kB / 372.2 MB, free: 18.5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.864e-05/0.3022, allocations: 44.06 kB / 372.3 MB, free: 18.5 MB / 302.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3022, allocations: 4.922 kB / 372.3 MB, free: 18.5 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03195/0.3341, allocations: 3.177 MB / 375.4 MB, free: 18.25 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001873/0.3344, allocations: 240.2 kB / 375.7 MB, free: 17.99 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.013/2.347, allocations: 3.969 kB / 375.7 MB, free: 17.99 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor_fmu --startTime=0 --stopTime=6.2832 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches