Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 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_3_2_3_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001761/0.001761, allocations: 110.4 kB / 17.73 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 183.1 kB / 18.66 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.326/1.326, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001763, allocations: 59.91 kB / 328 MB, free: 3.82 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08469/0.08647, allocations: 46.61 MB / 374.6 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003914/0.09042, allocations: 2.403 MB / 377 MB, free: 2.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.09171, allocations: 0.6201 MB / 377.7 MB, free: 2.051 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000254/0.09199, allocations: 7.938 kB / 377.7 MB, free: 2.043 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002038/0.09224, allocations: 35.64 kB / 377.7 MB, free: 2.008 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002103/0.09246, allocations: 63.36 kB / 377.8 MB, free: 1.945 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.09271, allocations: 67.84 kB / 377.8 MB, free: 1.879 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003566/0.09308, allocations: 250.8 kB / 378.1 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002002/0.0933, allocations: 105.3 kB / 378.2 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001486/0.09345, allocations: 91.7 kB / 378.3 MB, free: 1.438 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001703/0.09363, allocations: 123.4 kB / 378.4 MB, free: 1.316 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.558e-05/0.09367, allocations: 20 kB / 378.4 MB, free: 1.297 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.229e-05/0.09372, allocations: 20 kB / 378.4 MB, free: 1.277 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.07e-05/0.09378, allocations: 47.84 kB / 378.5 MB, free: 1.23 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.09391, allocations: 115.3 kB / 378.6 MB, free: 1.117 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003005/0.09422, allocations: 251 kB / 378.8 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.09423, allocations: 0 / 378.8 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.09424, allocations: 0 / 378.8 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.09425, allocations: 0 / 378.8 MB, free: 0.8711 MB / 318.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.0007655/0.09502, allocations: 0.5222 MB / 379.4 MB, free: 308 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.09506, allocations: 11.97 kB / 379.4 MB, free: 296 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.726e-05/0.09513, allocations: 58.72 kB / 379.4 MB, free: 228 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.932e-05/0.09519, allocations: 28.75 kB / 379.5 MB, free: 200 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1502/0.2454, allocations: 240.7 kB / 379.7 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.2454, allocations: 16.53 kB / 379.7 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.843e-05/0.2455, allocations: 22.02 kB / 379.7 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004088/0.2459, allocations: 216.8 kB / 379.9 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.2459, allocations: 1.125 kB / 379.9 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/0.246, allocations: 8.531 kB / 379.9 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.246, allocations: 9.719 kB / 380 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002967/0.2463, allocations: 148.2 kB / 380.1 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009258/0.2472, allocations: 0.7787 MB / 380.9 MB, free: 12.49 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003438/0.2476, allocations: 200 kB / 381.1 MB, free: 12.44 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001988/0.2478, allocations: 106.3 kB / 381.2 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.2478, allocations: 1.938 kB / 381.2 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.577e-05/0.2478, allocations: 39.47 kB / 381.2 MB, free: 12.39 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.744e-06/0.2478, allocations: 1.375 kB / 381.2 MB, free: 12.39 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.001367/0.2492, allocations: 0.8732 MB / 382.1 MB, free: 11.86 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.737e-05/0.2492, allocations: 81.08 kB / 382.2 MB, free: 11.77 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.2494, allocations: 181 kB / 382.3 MB, free: 11.64 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.2494, allocations: 30.95 kB / 382.4 MB, free: 11.61 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.566e-05/0.2495, allocations: 138.1 kB / 382.5 MB, free: 11.48 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.704e-05/0.2495, allocations: 107.7 kB / 382.6 MB, free: 11.4 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.852e-05/0.2496, allocations: 46.5 kB / 382.7 MB, free: 11.37 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.059e-05/0.2497, allocations: 333.2 kB / 383 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.2498, allocations: 61.62 kB / 383 MB, free: 11.03 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.25, allocations: 113.4 kB / 383.2 MB, free: 10.96 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003281/0.2504, allocations: 195.3 kB / 383.4 MB, free: 10.86 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2504, allocations: 0.625 kB / 383.4 MB, free: 10.86 MB / 318.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003765/0.2508, allocations: 246.1 kB / 383.6 MB, free: 10.75 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.2508, allocations: 9.5 kB / 383.6 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.2508, allocations: 7.906 kB / 383.6 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.2508, allocations: 3.016 kB / 383.6 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002328/0.2511, allocations: 60.69 kB / 383.7 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.2511, allocations: 2.641 kB / 383.7 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.2512, allocations: 12.55 kB / 383.7 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.2512, allocations: 10.89 kB / 383.7 MB, free: 10.73 MB / 318.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 7.909e-05/0.2513, allocations: 146.4 kB / 383.8 MB, free: 10.59 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.398e-05/0.2514, allocations: 21.73 kB / 383.9 MB, free: 10.58 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.668e-05/0.2514, allocations: 31.88 kB / 383.9 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.2514, allocations: 4.625 kB / 383.9 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.2514, allocations: 0 / 383.9 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.2514, allocations: 2.969 kB / 383.9 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006758/0.2521, allocations: 0.5859 MB / 384.5 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2521, allocations: 1.734 kB / 384.5 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002557/0.2524, allocations: 56.86 kB / 384.5 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.2524, allocations: 2.609 kB / 384.5 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.2524, allocations: 8.469 kB / 384.6 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.2524, allocations: 1.906 kB / 384.6 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2524, allocations: 6.531 kB / 384.6 MB, free: 10.1 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005277/0.253, allocations: 0.4895 MB / 385.1 MB, free: 9.762 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.358e-05/0.253, allocations: 103.6 kB / 385.2 MB, free: 9.652 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.122e-05/0.2531, allocations: 7.328 kB / 385.2 MB, free: 9.648 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.2532, allocations: 14.27 kB / 385.2 MB, free: 9.641 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.752e-05/0.2533, allocations: 22.7 kB / 385.2 MB, free: 9.633 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.2533, allocations: 10.97 kB / 385.2 MB, free: 9.629 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.703e-05/0.2534, allocations: 131.3 kB / 385.3 MB, free: 9.539 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2534, allocations: 0 / 385.3 MB, free: 9.539 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003133/0.2537, allocations: 52.53 kB / 385.4 MB, free: 9.531 MB / 318.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.0006544/0.2544, allocations: 1.018 MB / 386.4 MB, free: 8.672 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000347/0.2547, allocations: 188.5 kB / 386.6 MB, free: 8.613 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2547, allocations: 0 / 386.6 MB, free: 8.613 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.2549, allocations: 95.92 kB / 386.7 MB, free: 8.586 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004529/0.2554, allocations: 43.33 kB / 386.7 MB, free: 8.57 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002467/0.2578, allocations: 2.639 MB / 389.4 MB, free: 6.613 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001681/0.258, allocations: 0.7493 MB / 390.1 MB, free: 5.91 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.261e-05/0.2581, allocations: 23.36 kB / 390.1 MB, free: 5.906 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.411e-05/0.2582, allocations: 73.69 kB / 390.2 MB, free: 5.855 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2582, allocations: 0 / 390.2 MB, free: 5.855 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02795/0.2862, allocations: 4.401 MB / 394.6 MB, free: 5.117 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.856/8.142, allocations: 9.672 kB / 394.6 MB, free: 5.109 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Oscillator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Oscillator.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches