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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009158/0.0009158, allocations: 80.36 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009558/0.0009558, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.899/0.899, allocations: 177 MB / 204.1 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2387/0.2387, allocations: 34.25 MB / 294.8 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 442.1 MB, free: 1.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.041e-05/2.201e-05, allocations: 5.094 kB / 442.1 MB, free: 1.566 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.1877/0.1877, allocations: 1.856 MB / 444 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009161/0.1886, allocations: 0.5537 MB / 444.5 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.55e-05/0.1887, allocations: 2.844 kB / 444.5 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.294e-05/0.1887, allocations: 12.83 kB / 444.6 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000216/0.189, allocations: 52.52 kB / 444.6 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002576/0.1892, allocations: 75.89 kB / 444.7 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.1894, allocations: 163.5 kB / 444.8 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.1895, allocations: 24.91 kB / 444.9 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002317/0.1897, allocations: 108.8 kB / 445 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.974e-05/0.1898, allocations: 50.3 kB / 445 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.51e-05/0.1898, allocations: 11.69 kB / 445 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.198e-05/0.1899, allocations: 17.78 kB / 445.1 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.289e-05/0.1899, allocations: 39.52 kB / 445.1 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.675e-05/0.1899, allocations: 38.39 kB / 445.1 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.1901, allocations: 153.5 kB / 445.3 MB, free: 42.99 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1901, allocations: 0 / 445.3 MB, free: 42.99 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1901, allocations: 0 / 445.3 MB, free: 42.99 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1901, allocations: 0 / 445.3 MB, free: 42.99 MB / 410.7 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.0005135/0.1906, allocations: 376.5 kB / 445.6 MB, free: 42.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.1907, allocations: 8.781 kB / 445.7 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.096e-05/0.1907, allocations: 42.95 kB / 445.7 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001663/0.1909, allocations: 39.06 kB / 445.7 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.191, allocations: 139 kB / 445.9 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.191, allocations: 7.531 kB / 445.9 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.191, allocations: 7.875 kB / 445.9 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.1912, allocations: 188.2 kB / 446.1 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.1912, allocations: 192 / 446.1 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.1912, allocations: 17.44 kB / 446.1 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1913, allocations: 0 / 446.1 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.1914, allocations: 95.09 kB / 446.2 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005026/0.1919, allocations: 392.7 kB / 446.6 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.1921, allocations: 93.86 kB / 446.7 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.439e-05/0.1922, allocations: 43.8 kB / 446.7 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.1922, allocations: 0 / 446.7 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.676e-05/0.1922, allocations: 33.5 kB / 446.7 MB, free: 42.03 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.1922, allocations: 0 / 446.7 MB, free: 42.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0008034/0.193, allocations: 315.9 kB / 447 MB, free: 41.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.193, allocations: 108.9 kB / 447.1 MB, free: 41.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.711e-05/0.1931, allocations: 146.8 kB / 447.3 MB, free: 41.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.1931, allocations: 25.7 kB / 447.3 MB, free: 41.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.775e-05/0.1932, allocations: 114.4 kB / 447.4 MB, free: 41.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.337e-05/0.1932, allocations: 22.41 kB / 447.4 MB, free: 41.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-05/0.1932, allocations: 32.67 kB / 447.5 MB, free: 41.56 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.178e-05/0.1933, allocations: 325.5 kB / 447.8 MB, free: 41.24 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.1934, allocations: 57.42 kB / 447.9 MB, free: 41.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.1935, allocations: 144 kB / 448 MB, free: 41.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/0.1937, allocations: 136.3 kB / 448.1 MB, free: 41.06 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1937, allocations: 0 / 448.1 MB, free: 41.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002816/0.194, allocations: 175.5 kB / 448.3 MB, free: 40.99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.194, allocations: 5.344 kB / 448.3 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.1941, allocations: 5.312 kB / 448.3 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.1941, allocations: 3.938 kB / 448.3 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003306/0.1944, allocations: 94.47 kB / 448.4 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008939/0.1953, allocations: 1.383 MB / 449.8 MB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.1954, allocations: 34.98 kB / 449.8 MB, free: 39.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.1954, allocations: 2.812 kB / 449.8 MB, free: 39.6 MB / 410.7 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.456e-05/0.1955, allocations: 124.7 kB / 449.9 MB, free: 39.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.1956, allocations: 9.422 kB / 450 MB, free: 39.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002829/0.1958, allocations: 171.4 kB / 450.1 MB, free: 39.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.1958, allocations: 0 / 450.1 MB, free: 39.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.1958, allocations: 0 / 450.1 MB, free: 39.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1958, allocations: 2.875 kB / 450.1 MB, free: 39.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004739/0.1963, allocations: 423.2 kB / 450.5 MB, free: 39.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1963, allocations: 0 / 450.5 MB, free: 39.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.919e-05/0.1964, allocations: 23.88 kB / 450.6 MB, free: 39.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1964, allocations: 2.875 kB / 450.6 MB, free: 39.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.1964, allocations: 6.062 kB / 450.6 MB, free: 39.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.1964, allocations: 4 kB / 450.6 MB, free: 39.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.1964, allocations: 0 / 450.6 MB, free: 39.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002408/0.1967, allocations: 259.3 kB / 450.8 MB, free: 38.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.237e-05/0.1967, allocations: 6.359 kB / 450.8 MB, free: 38.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.1967, allocations: 0 / 450.8 MB, free: 38.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.406e-05/0.1968, allocations: 34.89 kB / 450.9 MB, free: 38.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/0.1968, allocations: 3.328 kB / 450.9 MB, free: 38.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.1968, allocations: 6.875 kB / 450.9 MB, free: 38.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.419e-05/0.1969, allocations: 119 kB / 451 MB, free: 38.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1969, allocations: 2.938 kB / 451 MB, free: 38.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001915/0.1971, allocations: 23 kB / 451 MB, free: 38.8 MB / 410.7 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.0003497/0.1974, allocations: 0.7753 MB / 451.8 MB, free: 38.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004578/0.1979, allocations: 170.7 kB / 452 MB, free: 38.08 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1979, allocations: 3.938 kB / 452 MB, free: 38.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.198, allocations: 67.78 kB / 452 MB, free: 38.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.1983, allocations: 14.81 kB / 452 MB, free: 38.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001886/0.2002, allocations: 1.978 MB / 454 MB, free: 36.63 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.875e-05/0.2002, allocations: 90.28 kB / 454.1 MB, free: 36.55 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.16e-05/0.2003, allocations: 12.52 kB / 454.1 MB, free: 36.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.381e-05/0.2004, allocations: 33.8 kB / 454.2 MB, free: 36.53 MB / 410.7 MB Notification: Performance of SimCode: time 9.31e-07/0.2004, allocations: 112 / 454.2 MB, free: 36.53 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0167/0.2171, allocations: 3.977 MB / 458.1 MB, free: 35.43 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.54/7.757, allocations: 7.078 kB / 458.1 MB, free: 35.42 MB / 410.7 MB " [Timeout remaining time 652] (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 --stepSize=0.001 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestSaturatingInductor.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.690430994145572]