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.0006839/0.000684, allocations: 93.22 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008153/0.0008153, allocations: 201.5 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.274/1.274, allocations: 227.7 MB / 246.8 MB, free: 9.531 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1775/0.1775, allocations: 46.18 MB / 345.2 MB, free: 11.17 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002702/0.0002702, allocations: 8 kB / 419.6 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09723/0.09751, allocations: 63.56 MB / 483.2 MB, free: 4.031 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.001892/0.09944, allocations: 1.623 MB / 484.8 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008124/0.1003, allocations: 0.5845 MB / 485.4 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.016e-05/0.1003, allocations: 0 / 485.4 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.133e-05/0.1004, allocations: 7.922 kB / 485.4 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001669/0.1005, allocations: 35.77 kB / 485.4 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002173/0.1008, allocations: 79.47 kB / 485.5 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.1009, allocations: 143.4 kB / 485.6 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.101, allocations: 33.09 kB / 485.7 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001741/0.1012, allocations: 63.72 kB / 485.7 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.686e-05/0.1013, allocations: 59.73 kB / 485.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.1013, allocations: 8 kB / 485.8 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.716e-05/0.1014, allocations: 8 kB / 485.8 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.574e-05/0.1014, allocations: 23.86 kB / 485.8 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.467e-05/0.1015, allocations: 81.42 kB / 485.9 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.1017, allocations: 139.7 kB / 486.1 MB, free: 1.133 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1017, allocations: 0 / 486.1 MB, free: 1.133 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1017, allocations: 0 / 486.1 MB, free: 1.133 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.576e-06/0.1017, allocations: 4 kB / 486.1 MB, free: 1.129 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.0006586/0.1023, allocations: 439.1 kB / 486.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.1024, allocations: 12.88 kB / 486.5 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.955e-05/0.1024, allocations: 34.75 kB / 486.5 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002776/0.1027, allocations: 40.81 kB / 486.6 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.1029, allocations: 188.1 kB / 486.8 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.1029, allocations: 8.375 kB / 486.8 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.1029, allocations: 12.38 kB / 486.8 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003081/0.1032, allocations: 142.7 kB / 486.9 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.1033, allocations: 0 / 486.9 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.1033, allocations: 3.984 kB / 486.9 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.1033, allocations: 4 kB / 486.9 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003299/0.1036, allocations: 107.9 kB / 487 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000763/0.1044, allocations: 459.4 kB / 487.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002824/0.1047, allocations: 106.5 kB / 487.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.1049, allocations: 44.92 kB / 487.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.1049, allocations: 0 / 487.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.1049, allocations: 34.56 kB / 487.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.1049, allocations: 0 / 487.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.00132/0.1062, allocations: 373 kB / 488 MB, free: 14.97 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.1063, allocations: 102.8 kB / 488.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.1064, allocations: 144.1 kB / 488.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.1064, allocations: 29.7 kB / 488.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.702e-05/0.1065, allocations: 124 kB / 488.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.67e-05/0.1065, allocations: 11.81 kB / 488.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.791e-05/0.1066, allocations: 13.72 kB / 488.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.445e-05/0.1067, allocations: 326.8 kB / 488.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/0.1069, allocations: 71.89 kB / 488.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002551/0.1072, allocations: 108.2 kB / 488.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004391/0.1076, allocations: 150.5 kB / 489.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1076, allocations: 7.875 kB / 489.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005398/0.1082, allocations: 205.5 kB / 489.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.1082, allocations: 7.938 kB / 489.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.1082, allocations: 4 kB / 489.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.205e-06/0.1082, allocations: 4 kB / 489.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005678/0.1088, allocations: 91.97 kB / 489.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001195/0.11, allocations: 1.399 MB / 490.8 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002185/0.1102, allocations: 32.06 kB / 490.8 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.1103, allocations: 8 kB / 490.8 MB, free: 11.93 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 0.0001062/0.1104, allocations: 129.7 kB / 491 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.518e-05/0.1104, allocations: 7.906 kB / 491 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000525/0.1109, allocations: 182.3 kB / 491.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.111, allocations: 4 kB / 491.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.02e-07/0.111, allocations: 4 kB / 491.2 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.111, allocations: 0 / 491.2 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007733/0.1118, allocations: 486.3 kB / 491.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1118, allocations: 0 / 491.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.1119, allocations: 35.97 kB / 491.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1119, allocations: 288 / 491.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.112, allocations: 0 / 491.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.112, allocations: 4 kB / 491.7 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.112, allocations: 0 / 491.7 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005343/0.1125, allocations: 279.5 kB / 491.9 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.135e-05/0.1126, allocations: 89.02 kB / 492 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.1126, allocations: 0 / 492 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.1128, allocations: 27.97 kB / 492.1 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/0.1128, allocations: 7.984 kB / 492.1 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.1129, allocations: 15.94 kB / 492.1 MB, free: 10.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.142e-05/0.1129, allocations: 109.7 kB / 492.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.113, allocations: 0 / 492.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002606/0.1132, allocations: 32 kB / 492.2 MB, free: 10.45 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.0007278/0.114, allocations: 0.7985 MB / 493 MB, free: 9.621 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008595/0.1148, allocations: 199.8 kB / 493.2 MB, free: 9.426 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1148, allocations: 0 / 493.2 MB, free: 9.426 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002408/0.1151, allocations: 79.89 kB / 493.3 MB, free: 9.348 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.1154, allocations: 23.86 kB / 493.3 MB, free: 9.324 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00318/0.1186, allocations: 2.074 MB / 495.4 MB, free: 7.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.1188, allocations: 0.7043 MB / 496.1 MB, free: 6.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.509e-05/0.1189, allocations: 12.42 kB / 496.1 MB, free: 6.418 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.151e-05/0.1189, allocations: 31.42 kB / 496.1 MB, free: 6.387 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1189, allocations: 0 / 496.1 MB, free: 6.387 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01239/0.1313, allocations: 2.783 MB / 498.9 MB, free: 3.781 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001978/0.1316, allocations: 242.4 kB / 499.2 MB, free: 3.527 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.661/1.793, allocations: 0 / 499.2 MB, free: 3.527 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