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.001165/0.001165, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001121/0.001121, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.277/1.277, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1923/0.1923, allocations: 46.11 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 75.06 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09682/0.09818, allocations: 62.44 MB / 480.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003226/0.1015, allocations: 1.916 MB / 482 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.1025, allocations: 0.5961 MB / 482.6 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.609e-05/0.1026, allocations: 0 / 482.6 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.186e-05/0.1027, allocations: 19.8 kB / 482.6 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001788/0.1029, allocations: 39.69 kB / 482.7 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002449/0.1031, allocations: 79.83 kB / 482.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.1033, allocations: 151.4 kB / 482.9 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.1034, allocations: 37.08 kB / 483 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001865/0.1036, allocations: 75.72 kB / 483 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.965e-05/0.1037, allocations: 71.67 kB / 483.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.769e-05/0.1037, allocations: 12 kB / 483.1 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.731e-05/0.1038, allocations: 20 kB / 483.1 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.442e-05/0.1038, allocations: 31.91 kB / 483.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.978e-05/0.1039, allocations: 51.73 kB / 483.2 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.1041, allocations: 151.7 kB / 483.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1041, allocations: 0 / 483.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1041, allocations: 0 / 483.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1041, allocations: 4 kB / 483.4 MB, free: 1.934 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.0007039/0.1048, allocations: 439 kB / 483.8 MB, free: 1.457 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.1049, allocations: 12.03 kB / 483.8 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.151e-05/0.1049, allocations: 42.67 kB / 483.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002849/0.1052, allocations: 48.72 kB / 483.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.1053, allocations: 180.2 kB / 484.1 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.1054, allocations: 4.375 kB / 484.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.1054, allocations: 12.31 kB / 484.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003072/0.1057, allocations: 148.2 kB / 484.2 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.1057, allocations: 0 / 484.2 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.1057, allocations: 4 kB / 484.2 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.1058, allocations: 4 kB / 484.2 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003138/0.1061, allocations: 95.92 kB / 484.3 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000755/0.1068, allocations: 451.3 kB / 484.8 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002907/0.1071, allocations: 90.53 kB / 484.9 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/0.1073, allocations: 40.92 kB / 484.9 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.1073, allocations: 7.984 kB / 484.9 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.1074, allocations: 38.48 kB / 484.9 MB, free: 168 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.1074, allocations: 4 kB / 484.9 MB, free: 164 kB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.001317/0.1087, allocations: 305.1 kB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.457e-05/0.1088, allocations: 114.8 kB / 485.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.1089, allocations: 148.4 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.1089, allocations: 25.7 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.708e-05/0.109, allocations: 116.1 kB / 485.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.109, allocations: 15.72 kB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.798e-05/0.1091, allocations: 25.7 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.736e-05/0.1092, allocations: 322.8 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002297/0.1094, allocations: 63.94 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000248/0.1097, allocations: 88.25 kB / 486.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004254/0.1101, allocations: 134.5 kB / 486.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1101, allocations: 7.938 kB / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005231/0.1106, allocations: 181.4 kB / 486.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.1107, allocations: 10.12 kB / 486.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.1107, allocations: 80 / 486.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.1107, allocations: 4.062 kB / 486.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005721/0.1113, allocations: 87.91 kB / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00135/0.1126, allocations: 1.509 MB / 488.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002163/0.1129, allocations: 23.91 kB / 488.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.1129, allocations: 7.938 kB / 488.1 MB, free: 12.77 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.562e-05/0.113, allocations: 125.8 kB / 488.2 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.878e-05/0.113, allocations: 7.906 kB / 488.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004933/0.1135, allocations: 162.4 kB / 488.4 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1135, allocations: 0 / 488.4 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-06/0.1135, allocations: 192 / 488.4 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-06/0.1136, allocations: 0 / 488.4 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007646/0.1143, allocations: 470.2 kB / 488.8 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1143, allocations: 0 / 488.8 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/0.1145, allocations: 31.97 kB / 488.9 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1145, allocations: 0 / 488.9 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.1145, allocations: 3.984 kB / 488.9 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.1145, allocations: 3.938 kB / 488.9 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.1146, allocations: 7.938 kB / 488.9 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004901/0.1151, allocations: 243.4 kB / 489.1 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.766e-05/0.1151, allocations: 89 kB / 489.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.1152, allocations: 0 / 489.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.1154, allocations: 28.19 kB / 489.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.845e-05/0.1154, allocations: 12 kB / 489.3 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.1154, allocations: 3.984 kB / 489.3 MB, free: 11.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.303e-05/0.1155, allocations: 109.5 kB / 489.4 MB, free: 11.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.1155, allocations: 0 / 489.4 MB, free: 11.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000276/0.1158, allocations: 28 kB / 489.4 MB, free: 11.37 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.0007438/0.1165, allocations: 0.7826 MB / 490.2 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008514/0.1174, allocations: 183.8 kB / 490.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1174, allocations: 0 / 490.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000231/0.1177, allocations: 64.08 kB / 490.4 MB, free: 10.31 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.118, allocations: 19.81 kB / 490.4 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003421/0.1214, allocations: 1.981 MB / 492.4 MB, free: 8.219 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.1217, allocations: 0.704 MB / 493.1 MB, free: 7.488 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.181e-05/0.1218, allocations: 12.42 kB / 493.1 MB, free: 7.477 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.877e-05/0.1219, allocations: 35.42 kB / 493.2 MB, free: 7.441 MB / 366.1 MB Notification: Performance of SimCode: time 7.42e-07/0.1219, allocations: 0 / 493.2 MB, free: 7.441 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01927/0.1412, allocations: 3.113 MB / 496.3 MB, free: 4.461 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.22/10.36, allocations: 11.98 kB / 496.3 MB, free: 4.449 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