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.001149/0.001149, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001075/0.001075, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 227.4 MB / 246.3 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2618/0.2618, allocations: 46.11 MB / 343.6 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 75.86 kB / 416.9 MB, free: 7.449 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.105, allocations: 62.43 MB / 479.4 MB, free: 8.953 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.00279/0.1079, allocations: 1.965 MB / 481.3 MB, free: 6.965 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008738/0.1087, allocations: 0.5921 MB / 481.9 MB, free: 6.367 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.681e-05/0.1088, allocations: 3.938 kB / 481.9 MB, free: 6.363 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.434e-05/0.1089, allocations: 11.92 kB / 482 MB, free: 6.352 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001728/0.1091, allocations: 27.78 kB / 482 MB, free: 6.324 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002234/0.1093, allocations: 83.27 kB / 482.1 MB, free: 6.246 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.1094, allocations: 143.4 kB / 482.2 MB, free: 6.105 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.1095, allocations: 25.11 kB / 482.2 MB, free: 6.082 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001758/0.1097, allocations: 67.77 kB / 482.3 MB, free: 6.016 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.928e-05/0.1098, allocations: 63.69 kB / 482.4 MB, free: 5.953 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.1099, allocations: 8 kB / 482.4 MB, free: 5.945 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.252e-05/0.1099, allocations: 16 kB / 482.4 MB, free: 5.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.065e-05/0.11, allocations: 27.89 kB / 482.4 MB, free: 5.902 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.124e-05/0.11, allocations: 51.73 kB / 482.5 MB, free: 5.852 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.1102, allocations: 139.8 kB / 482.6 MB, free: 5.715 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.1102, allocations: 0 / 482.6 MB, free: 5.715 MB / 398.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.1102, allocations: 0 / 482.6 MB, free: 5.715 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.307e-06/0.1102, allocations: 0 / 482.6 MB, free: 5.715 MB / 398.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.0007311/0.111, allocations: 447.1 kB / 483 MB, free: 5.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.111, allocations: 12.88 kB / 483 MB, free: 5.219 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.442e-05/0.111, allocations: 42.67 kB / 483.1 MB, free: 5.168 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00031/0.1114, allocations: 44.81 kB / 483.1 MB, free: 5.125 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.1115, allocations: 188.1 kB / 483.3 MB, free: 4.902 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.1116, allocations: 8.375 kB / 483.3 MB, free: 4.895 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.1116, allocations: 4.375 kB / 483.3 MB, free: 4.891 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003196/0.1119, allocations: 140.2 kB / 483.5 MB, free: 4.738 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.1119, allocations: 0 / 483.5 MB, free: 4.738 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.112, allocations: 8 kB / 483.5 MB, free: 4.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.112, allocations: 4 kB / 483.5 MB, free: 4.727 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003327/0.1123, allocations: 99.81 kB / 483.6 MB, free: 4.629 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007869/0.1131, allocations: 459.3 kB / 484 MB, free: 4.125 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003058/0.1134, allocations: 86.53 kB / 484.1 MB, free: 4.031 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/0.1136, allocations: 40.92 kB / 484.1 MB, free: 3.988 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.1136, allocations: 0 / 484.1 MB, free: 3.988 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.1136, allocations: 34.5 kB / 484.2 MB, free: 3.945 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 2.124e-06/0.1136, allocations: 3.938 kB / 484.2 MB, free: 3.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.001372/0.115, allocations: 325 kB / 484.5 MB, free: 3.617 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.1151, allocations: 110.8 kB / 484.6 MB, free: 3.484 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.1152, allocations: 144 kB / 484.7 MB, free: 3.336 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.1152, allocations: 29.7 kB / 484.8 MB, free: 3.301 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.446e-05/0.1153, allocations: 120.1 kB / 484.9 MB, free: 3.176 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.1153, allocations: 15.72 kB / 484.9 MB, free: 3.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.214e-05/0.1154, allocations: 25.7 kB / 484.9 MB, free: 3.129 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1155, allocations: 322.8 kB / 485.3 MB, free: 2.805 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000237/0.1157, allocations: 59.94 kB / 485.3 MB, free: 2.746 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002538/0.116, allocations: 92.25 kB / 485.4 MB, free: 2.641 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004394/0.1165, allocations: 138.5 kB / 485.5 MB, free: 2.496 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1165, allocations: 0 / 485.5 MB, free: 2.496 MB / 398.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005215/0.117, allocations: 185.5 kB / 485.7 MB, free: 2.309 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.117, allocations: 7.938 kB / 485.7 MB, free: 2.301 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.117, allocations: 0 / 485.7 MB, free: 2.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.789e-06/0.117, allocations: 0 / 485.7 MB, free: 2.301 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006417/0.1177, allocations: 87.97 kB / 485.8 MB, free: 2.215 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001303/0.119, allocations: 1.399 MB / 487.2 MB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.1192, allocations: 27.94 kB / 487.2 MB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.1193, allocations: 0 / 487.2 MB, free: 0.6562 MB / 398.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.866e-05/0.1194, allocations: 125.9 kB / 487.4 MB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.938e-05/0.1194, allocations: 11.91 kB / 487.4 MB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000519/0.1199, allocations: 166.5 kB / 487.5 MB, free: 348 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.12, allocations: 3.984 kB / 487.5 MB, free: 344 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.12, allocations: 4 kB / 487.5 MB, free: 340 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.12, allocations: 0 / 487.5 MB, free: 340 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007962/0.1208, allocations: 462.4 kB / 488 MB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.1208, allocations: 8 kB / 488 MB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/0.121, allocations: 23.97 kB / 488 MB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.121, allocations: 0 / 488 MB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.121, allocations: 4 kB / 488 MB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.121, allocations: 80 / 488 MB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.121, allocations: 3.984 kB / 488 MB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005073/0.1215, allocations: 259.2 kB / 488.3 MB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.029e-05/0.1216, allocations: 81.02 kB / 488.4 MB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.1216, allocations: 8.172 kB / 488.4 MB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/0.1218, allocations: 27.92 kB / 488.4 MB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.597e-05/0.1219, allocations: 11.92 kB / 488.4 MB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.1219, allocations: 7.938 kB / 488.4 MB, free: 15.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.221e-05/0.122, allocations: 115.2 kB / 488.5 MB, free: 15.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.122, allocations: 0 / 488.5 MB, free: 15.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000274/0.1223, allocations: 28 kB / 488.6 MB, free: 15.22 MB / 414.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.0007369/0.123, allocations: 0.7748 MB / 489.3 MB, free: 14.42 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000881/0.1239, allocations: 179.8 kB / 489.5 MB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.1239, allocations: 4.125 kB / 489.5 MB, free: 14.24 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002319/0.1242, allocations: 59.95 kB / 489.6 MB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.1245, allocations: 18.5 kB / 489.6 MB, free: 14.17 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003277/0.1278, allocations: 1.999 MB / 491.6 MB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.128, allocations: 0.7043 MB / 492.3 MB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.119e-05/0.1281, allocations: 12.42 kB / 492.3 MB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.86e-05/0.1282, allocations: 35.42 kB / 492.3 MB, free: 11.3 MB / 414.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1282, allocations: 0 / 492.3 MB, free: 11.3 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01372/0.1419, allocations: 2.877 MB / 495.2 MB, free: 8.574 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002269/0.1422, allocations: 245.3 kB / 495.5 MB, free: 8.316 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.793/1.935, allocations: 0 / 495.5 MB, free: 8.316 MB / 414.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