Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Electrical.Analog.TestSaturatingInductor,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestSaturatingInductor,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001537/0.001537, allocations: 100.7 kB / 17.32 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001959/0.001959, allocations: 209.8 kB / 18.26 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2051/0.2051, allocations: 46.1 MB / 343.8 MB, free: 11.67 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 76.22 kB / 417.2 MB, free: 19.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09774/0.09918, allocations: 62.43 MB / 479.6 MB, free: 5.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003022/0.1022, allocations: 1.973 MB / 481.6 MB, free: 3.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000976/0.1032, allocations: 0.5806 MB / 482.1 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.292e-05/0.1033, allocations: 0 / 482.1 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.235e-05/0.1034, allocations: 11.92 kB / 482.2 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001987/0.1036, allocations: 39.69 kB / 482.2 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002763/0.1039, allocations: 75.41 kB / 482.3 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.1041, allocations: 159.4 kB / 482.4 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.1042, allocations: 33.11 kB / 482.5 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002186/0.1045, allocations: 75.69 kB / 482.5 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.1046, allocations: 63.75 kB / 482.6 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.1046, allocations: 15.94 kB / 482.6 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.705e-05/0.1047, allocations: 20 kB / 482.6 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.644e-05/0.1047, allocations: 23.92 kB / 482.6 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.487e-05/0.1048, allocations: 67.7 kB / 482.7 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.105, allocations: 139.8 kB / 482.9 MB, free: 2.227 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.105, allocations: 0 / 482.9 MB, free: 2.227 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.105, allocations: 0 / 482.9 MB, free: 2.227 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.105, allocations: 0 / 482.9 MB, free: 2.227 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008075/0.1058, allocations: 455 kB / 483.3 MB, free: 1.734 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.1059, allocations: 8.031 kB / 483.3 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.792e-05/0.1059, allocations: 38.75 kB / 483.3 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000316/0.1062, allocations: 44.72 kB / 483.4 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.1064, allocations: 184.2 kB / 483.6 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.1064, allocations: 16.31 kB / 483.6 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.1064, allocations: 4.375 kB / 483.6 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003194/0.1068, allocations: 138.3 kB / 483.7 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.1068, allocations: 7.922 kB / 483.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.1068, allocations: 8 kB / 483.7 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1068, allocations: 0 / 483.7 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003232/0.1072, allocations: 95.92 kB / 483.8 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007843/0.108, allocations: 455.4 kB / 484.3 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002967/0.1083, allocations: 86.52 kB / 484.4 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001467/0.1084, allocations: 44.92 kB / 484.4 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.1084, allocations: 0 / 484.4 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.1085, allocations: 34.56 kB / 484.4 MB, free: 468 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.1085, allocations: 0 / 484.4 MB, free: 468 kB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.001386/0.1099, allocations: 325.3 kB / 484.8 MB, free: 136 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.1099, allocations: 102.8 kB / 484.9 MB, free: 8 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.1101, allocations: 148.2 kB / 485 MB, free: 15.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.1101, allocations: 25.7 kB / 485 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.487e-05/0.1102, allocations: 116 kB / 485.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/0.1102, allocations: 19.72 kB / 485.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.914e-05/0.1103, allocations: 33.7 kB / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.897e-05/0.1104, allocations: 314.8 kB / 485.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002346/0.1106, allocations: 55.95 kB / 485.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.1109, allocations: 104.2 kB / 485.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004294/0.1113, allocations: 138.5 kB / 485.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.1113, allocations: 0 / 485.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005117/0.1118, allocations: 185.4 kB / 486 MB, free: 14.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.1119, allocations: 7.938 kB / 486 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.1119, allocations: 3.984 kB / 486 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.1119, allocations: 4 kB / 486 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006053/0.1125, allocations: 83.91 kB / 486.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001426/0.1139, allocations: 1.497 MB / 487.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002354/0.1142, allocations: 31.94 kB / 487.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.1142, allocations: 7.875 kB / 487.6 MB, free: 13.05 MB / 366.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 (9): * Single equations (assignments): 8 * 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 9.867e-05/0.1143, allocations: 121.9 kB / 487.7 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.79e-05/0.1144, allocations: 7.906 kB / 487.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005091/0.1149, allocations: 170.3 kB / 487.9 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1149, allocations: 192 / 487.9 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.1149, allocations: 0 / 487.9 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.1149, allocations: 3.938 kB / 487.9 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007827/0.1157, allocations: 462.3 kB / 488.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.1157, allocations: 0 / 488.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001718/0.1159, allocations: 31.97 kB / 488.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.1159, allocations: 0 / 488.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.1159, allocations: 4 kB / 488.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.1159, allocations: 3.938 kB / 488.4 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1159, allocations: 0 / 488.4 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005082/0.1164, allocations: 255.3 kB / 488.6 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.14e-05/0.1165, allocations: 81.02 kB / 488.7 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.1165, allocations: 4 kB / 488.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002288/0.1168, allocations: 31.91 kB / 488.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.1168, allocations: 7.984 kB / 488.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.1168, allocations: 0 / 488.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.569e-05/0.1169, allocations: 118 kB / 488.9 MB, free: 11.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1169, allocations: 0 / 488.9 MB, free: 11.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002798/0.1172, allocations: 28 kB / 488.9 MB, free: 11.64 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007973/0.118, allocations: 0.7787 MB / 489.7 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009322/0.119, allocations: 175.9 kB / 489.9 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.119, allocations: 3.938 kB / 489.9 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002331/0.1192, allocations: 59.95 kB / 489.9 MB, free: 10.6 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.1196, allocations: 15.92 kB / 489.9 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003471/0.123, allocations: 2.016 MB / 491.9 MB, free: 8.477 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.1233, allocations: 0.7002 MB / 492.6 MB, free: 7.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.879e-05/0.1234, allocations: 20.41 kB / 492.7 MB, free: 7.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.181e-05/0.1235, allocations: 31.42 kB / 492.7 MB, free: 7.699 MB / 366.1 MB Notification: Performance of SimCode: time 1.552e-06/0.1235, allocations: 0 / 492.7 MB, free: 7.699 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02538/0.1489, allocations: 2.968 MB / 495.7 MB, free: 4.906 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001787/0.1491, allocations: 239.6 kB / 495.9 MB, free: 4.652 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.811/1.961, allocations: 4 kB / 495.9 MB, free: 4.648 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestSaturatingInductor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestSaturatingInductor.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches