Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001453/0.001453, allocations: 179.2 kB / 16.72 MB, free: 4.953 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.265/1.265, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007616/0.0007617, allocations: 86.41 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003131/0.0003132, allocations: 8 kB / 327.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2223, allocations: 47.57 MB / 375.2 MB, free: 45.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.002043/0.2244, allocations: 2.019 MB / 377.2 MB, free: 43.85 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007614/0.2252, allocations: 0.5941 MB / 377.8 MB, free: 43.36 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.2253, allocations: 3.656 kB / 377.8 MB, free: 43.36 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001233/0.2255, allocations: 27.11 kB / 377.8 MB, free: 43.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.677e-05/0.2256, allocations: 55.55 kB / 377.9 MB, free: 43.29 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001734/0.2258, allocations: 51.97 kB / 377.9 MB, free: 43.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002239/0.226, allocations: 234 kB / 378.2 MB, free: 43.11 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001791/0.2262, allocations: 84.12 kB / 378.2 MB, free: 43.07 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.2263, allocations: 75.16 kB / 378.3 MB, free: 43.04 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.2264, allocations: 99.59 kB / 378.4 MB, free: 42.97 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.078e-05/0.2265, allocations: 10 kB / 378.4 MB, free: 42.97 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.27e-05/0.2265, allocations: 11 kB / 378.4 MB, free: 42.97 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.699e-05/0.2265, allocations: 38 kB / 378.5 MB, free: 42.94 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.653e-05/0.2266, allocations: 125.3 kB / 378.6 MB, free: 42.84 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.2268, allocations: 185.1 kB / 378.8 MB, free: 42.71 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2268, allocations: 3.938 kB / 378.8 MB, free: 42.7 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2268, allocations: 0 / 378.8 MB, free: 42.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.225e-06/0.2268, allocations: 1.062 kB / 378.8 MB, free: 42.7 MB / 298.7 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.0005824/0.2274, allocations: 498.8 kB / 379.3 MB, free: 42.24 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.2275, allocations: 9.125 kB / 379.3 MB, free: 42.24 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.625e-05/0.2275, allocations: 53.36 kB / 379.3 MB, free: 42.18 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.459e-05/0.2276, allocations: 25.38 kB / 379.3 MB, free: 42.17 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002352/0.2278, allocations: 236.5 kB / 379.6 MB, free: 41.92 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.376e-05/0.2279, allocations: 20.34 kB / 379.6 MB, free: 41.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.087e-05/0.2279, allocations: 18.53 kB / 379.6 MB, free: 41.91 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003806/0.2283, allocations: 231.1 kB / 379.8 MB, free: 41.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.2283, allocations: 1.031 kB / 379.8 MB, free: 41.75 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.2284, allocations: 6.219 kB / 379.8 MB, free: 41.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.2284, allocations: 5.156 kB / 379.9 MB, free: 41.75 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003057/0.2287, allocations: 157 kB / 380 MB, free: 41.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.2297, allocations: 0.7973 MB / 380.8 MB, free: 40.97 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003801/0.2301, allocations: 209.6 kB / 381 MB, free: 40.84 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002041/0.2303, allocations: 107.6 kB / 381.1 MB, free: 40.79 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.2304, allocations: 2.25 kB / 381.1 MB, free: 40.79 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.756e-05/0.2304, allocations: 40.72 kB / 381.2 MB, free: 40.74 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.322e-06/0.2304, allocations: 0 / 381.2 MB, free: 40.74 MB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.001422/0.2318, allocations: 0.8743 MB / 382 MB, free: 40.05 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.2319, allocations: 84.64 kB / 382.1 MB, free: 39.96 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.232, allocations: 179.9 kB / 382.3 MB, free: 39.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.232, allocations: 38.77 kB / 382.3 MB, free: 39.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.892e-05/0.2321, allocations: 142.3 kB / 382.5 MB, free: 39.64 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.791e-05/0.2322, allocations: 89.75 kB / 382.6 MB, free: 39.56 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.021e-05/0.2322, allocations: 9.219 kB / 382.6 MB, free: 39.55 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.942e-05/0.2322, allocations: 330.8 kB / 382.9 MB, free: 39.23 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.2324, allocations: 65.84 kB / 382.9 MB, free: 39.2 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.2325, allocations: 110.5 kB / 383.1 MB, free: 39.12 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003084/0.2328, allocations: 195.1 kB / 383.2 MB, free: 39 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2329, allocations: 5.406 kB / 383.3 MB, free: 39 MB / 298.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003837/0.2332, allocations: 256.2 kB / 383.5 MB, free: 38.87 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.2333, allocations: 5.344 kB / 383.5 MB, free: 38.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.2333, allocations: 1.062 kB / 383.5 MB, free: 38.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.2333, allocations: 6.438 kB / 383.5 MB, free: 38.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/0.2335, allocations: 65.78 kB / 383.6 MB, free: 38.85 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.2336, allocations: 7.047 kB / 383.6 MB, free: 38.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.2337, allocations: 11.09 kB / 383.6 MB, free: 38.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/0.2337, allocations: 10.44 kB / 383.6 MB, free: 38.84 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.21e-05/0.2338, allocations: 149.2 kB / 383.8 MB, free: 38.69 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.019e-05/0.2339, allocations: 21.94 kB / 383.8 MB, free: 38.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.381e-05/0.2339, allocations: 29.45 kB / 383.8 MB, free: 38.65 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-06/0.2339, allocations: 3.625 kB / 383.8 MB, free: 38.65 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.2339, allocations: 1.281 kB / 383.8 MB, free: 38.65 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.2339, allocations: 0 / 383.8 MB, free: 38.65 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006614/0.2346, allocations: 0.5834 MB / 384.4 MB, free: 38.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2346, allocations: 1.906 kB / 384.4 MB, free: 38.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002572/0.2349, allocations: 61.97 kB / 384.5 MB, free: 38.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.2349, allocations: 2 kB / 384.5 MB, free: 38.13 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.2349, allocations: 11.03 kB / 384.5 MB, free: 38.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.2349, allocations: 11.11 kB / 384.5 MB, free: 38.11 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2349, allocations: 1.094 kB / 384.5 MB, free: 38.11 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000551/0.2355, allocations: 0.4907 MB / 385 MB, free: 37.75 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.2355, allocations: 94.55 kB / 385.1 MB, free: 37.65 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/0.2356, allocations: 7.375 kB / 385.1 MB, free: 37.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.2357, allocations: 13.97 kB / 385.1 MB, free: 37.64 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.346e-05/0.2358, allocations: 25.27 kB / 385.1 MB, free: 37.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.2358, allocations: 9.406 kB / 385.1 MB, free: 37.62 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001005/0.2359, allocations: 131.3 kB / 385.2 MB, free: 37.52 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2359, allocations: 2.062 kB / 385.2 MB, free: 37.52 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003027/0.2362, allocations: 49.09 kB / 385.3 MB, free: 37.51 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006874/0.2369, allocations: 1.038 MB / 386.3 MB, free: 36.61 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003513/0.2373, allocations: 188.4 kB / 386.5 MB, free: 36.53 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2373, allocations: 0 / 386.5 MB, free: 36.53 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.2375, allocations: 104.8 kB / 386.6 MB, free: 36.49 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000475/0.238, allocations: 36.31 kB / 386.7 MB, free: 36.47 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/0.2398, allocations: 1.628 MB / 388.3 MB, free: 34.97 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001436/0.24, allocations: 0.7443 MB / 389 MB, free: 34.2 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.2401, allocations: 67.42 kB / 389.1 MB, free: 34.14 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2401, allocations: 3.938 kB / 389.1 MB, free: 34.13 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.472/2.713, allocations: 3.197 MB / 392.3 MB, free: 30.93 MB / 298.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Oscillator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_Oscillator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_Oscillator.fmu > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches