Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 124.8 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 186.9 kB / 20.73 MB, free: 2.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 225.6 MB / 249.1 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 51.92 kB / 365.6 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.104, allocations: 52.15 MB / 417.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003922/0.108, allocations: 2.438 MB / 420.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.1091, allocations: 0.5765 MB / 420.8 MB, free: 9.625 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/0.1093, allocations: 11.94 kB / 420.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001431/0.1094, allocations: 31.64 kB / 420.8 MB, free: 9.582 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001454/0.1096, allocations: 75.3 kB / 420.9 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002296/0.1098, allocations: 59.92 kB / 421 MB, free: 9.449 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003341/0.1101, allocations: 258.8 kB / 421.2 MB, free: 9.195 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001787/0.1103, allocations: 65.38 kB / 421.3 MB, free: 9.133 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001677/0.1105, allocations: 95.69 kB / 421.4 MB, free: 9.039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001596/0.1106, allocations: 111.5 kB / 421.5 MB, free: 8.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.906e-05/0.1107, allocations: 20 kB / 421.5 MB, free: 8.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.476e-05/0.1107, allocations: 20 kB / 421.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.073e-05/0.1108, allocations: 51.84 kB / 421.6 MB, free: 8.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.1109, allocations: 119.4 kB / 421.7 MB, free: 8.723 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003345/0.1112, allocations: 254.9 kB / 421.9 MB, free: 8.473 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1112, allocations: 0 / 421.9 MB, free: 8.473 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.1112, allocations: 0 / 421.9 MB, free: 8.473 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.1112, allocations: 0 / 421.9 MB, free: 8.473 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008659/0.1121, allocations: 0.526 MB / 422.5 MB, free: 7.898 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.1121, allocations: 12.03 kB / 422.5 MB, free: 7.887 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.489e-05/0.1122, allocations: 62.72 kB / 422.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.428e-05/0.1123, allocations: 28.75 kB / 422.6 MB, free: 7.789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003488/0.1126, allocations: 233.4 kB / 422.8 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.052e-05/0.1127, allocations: 16.81 kB / 422.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.558e-05/0.1127, allocations: 20.33 kB / 422.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004153/0.1131, allocations: 221.1 kB / 423 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.1131, allocations: 8 kB / 423 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.015e-05/0.1132, allocations: 7.984 kB / 423.1 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.1132, allocations: 4 kB / 423.1 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000306/0.1135, allocations: 151.8 kB / 423.2 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001221/0.1147, allocations: 0.7833 MB / 424 MB, free: 6.234 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004014/0.1151, allocations: 189 kB / 424.2 MB, free: 6.031 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002273/0.1153, allocations: 97.67 kB / 424.3 MB, free: 5.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.1153, allocations: 4.188 kB / 424.3 MB, free: 5.926 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.317e-05/0.1154, allocations: 38.5 kB / 424.3 MB, free: 5.879 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.613e-06/0.1154, allocations: 0 / 424.3 MB, free: 5.879 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001692/0.1171, allocations: 0.8728 MB / 425.2 MB, free: 4.918 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.225e-05/0.1171, allocations: 81.11 kB / 425.3 MB, free: 4.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.1173, allocations: 178.3 kB / 425.4 MB, free: 4.637 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.1173, allocations: 25.7 kB / 425.5 MB, free: 4.605 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.1175, allocations: 144.5 kB / 425.6 MB, free: 4.461 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.165e-05/0.1176, allocations: 99.05 kB / 425.7 MB, free: 4.363 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.459e-05/0.1176, allocations: 53.7 kB / 425.7 MB, free: 4.305 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.1178, allocations: 330.8 kB / 426.1 MB, free: 3.973 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.118, allocations: 67.95 kB / 426.1 MB, free: 3.906 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.1182, allocations: 108.8 kB / 426.2 MB, free: 3.785 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003309/0.1185, allocations: 194.2 kB / 426.4 MB, free: 3.582 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.1185, allocations: 3.938 kB / 426.4 MB, free: 3.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004456/0.1189, allocations: 243.5 kB / 426.7 MB, free: 3.336 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.119, allocations: 12.09 kB / 426.7 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.119, allocations: 0 / 426.7 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.119, allocations: 4 kB / 426.7 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002553/0.1192, allocations: 59.91 kB / 426.8 MB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.1192, allocations: 3.938 kB / 426.8 MB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.1194, allocations: 15.95 kB / 426.8 MB, free: 3.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/0.1194, allocations: 8 kB / 426.8 MB, free: 3.234 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (32): * Single equations (assignments): 32 * 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 prepare postOptimizeDAE: time 0.0001407/0.1195, allocations: 146.4 kB / 426.9 MB, free: 3.082 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.054e-05/0.1196, allocations: 19.91 kB / 426.9 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.255e-05/0.1196, allocations: 25.88 kB / 427 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.1196, allocations: 4 kB / 427 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1196, allocations: 0 / 427 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.1196, allocations: 3.984 kB / 427 MB, free: 3.027 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008658/0.1205, allocations: 0.5827 MB / 427.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1205, allocations: 0 / 427.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002765/0.1208, allocations: 67.89 kB / 427.6 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.1208, allocations: 4 kB / 427.6 MB, free: 2.309 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.1208, allocations: 8 kB / 427.6 MB, free: 2.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.1208, allocations: 3.938 kB / 427.6 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.1208, allocations: 7.938 kB / 427.6 MB, free: 2.289 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006727/0.1215, allocations: 0.4893 MB / 428.1 MB, free: 1.773 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.299e-05/0.1216, allocations: 100.9 kB / 428.2 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.219e-05/0.1216, allocations: 8.031 kB / 428.2 MB, free: 1.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.1218, allocations: 15.94 kB / 428.3 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/0.1218, allocations: 19.97 kB / 428.3 MB, free: 1.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.1218, allocations: 8 kB / 428.3 MB, free: 1.605 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001067/0.1219, allocations: 128.3 kB / 428.4 MB, free: 1.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1219, allocations: 0 / 428.4 MB, free: 1.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003444/0.1223, allocations: 52 kB / 428.5 MB, free: 1.43 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (damper1.s_rel,damper1.v_rel,mass1.s,mass1.v) * 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 (26): * Single equations (assignments): 26 * 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.001023/0.1233, allocations: 1.038 MB / 429.5 MB, free: 360 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003968/0.1237, allocations: 167.8 kB / 429.7 MB, free: 192 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1237, allocations: 0 / 429.7 MB, free: 192 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001688/0.1239, allocations: 94.94 kB / 429.8 MB, free: 100 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004778/0.1244, allocations: 36.67 kB / 429.8 MB, free: 64 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003365/0.1277, allocations: 2.644 MB / 432.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/0.1281, allocations: 0.7556 MB / 433.2 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.857e-05/0.1282, allocations: 17.95 kB / 433.2 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.1283, allocations: 71.41 kB / 433.3 MB, free: 12.42 MB / 366.1 MB Notification: Performance of SimCode: time 6.92e-07/0.1283, allocations: 0 / 433.3 MB, free: 12.42 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03051/0.1589, allocations: 4.437 MB / 437.7 MB, free: 8.102 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.418/8.577, allocations: 12.25 kB / 437.7 MB, free: 8.094 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Oscillator_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Oscillator.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.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: 11.027614515274763]