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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001764/0.001764, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 212 kB / 24.47 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.379/1.379, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 53.8 kB / 347.2 MB, free: 9.898 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2419, allocations: 49.16 MB / 396.3 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.00299/0.2449, allocations: 2.261 MB / 398.6 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008629/0.2458, allocations: 0.6046 MB / 399.2 MB, free: 6.945 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.2459, allocations: 4.531 kB / 399.2 MB, free: 6.945 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001223/0.246, allocations: 42.91 kB / 399.3 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001152/0.2461, allocations: 62.78 kB / 399.3 MB, free: 6.871 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002291/0.2464, allocations: 63.47 kB / 399.4 MB, free: 6.836 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002572/0.2466, allocations: 256.1 kB / 399.6 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.2468, allocations: 66.75 kB / 399.7 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.2469, allocations: 103.7 kB / 399.8 MB, free: 6.625 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.247, allocations: 97.28 kB / 399.9 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.351e-05/0.2471, allocations: 19.62 kB / 399.9 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.054e-05/0.2471, allocations: 24.03 kB / 399.9 MB, free: 6.578 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.743e-05/0.2472, allocations: 47.22 kB / 400 MB, free: 6.547 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.969e-05/0.2472, allocations: 93.52 kB / 400.1 MB, free: 6.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002665/0.2475, allocations: 255.9 kB / 400.3 MB, free: 6.398 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.2475, allocations: 5.125 kB / 400.3 MB, free: 6.395 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2475, allocations: 3.938 kB / 400.3 MB, free: 6.391 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.2475, allocations: 0 / 400.3 MB, free: 6.391 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.0006099/0.2481, allocations: 463 kB / 400.8 MB, free: 6.02 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.2482, allocations: 14.2 kB / 400.8 MB, free: 6.016 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.133e-05/0.2482, allocations: 57.69 kB / 400.8 MB, free: 5.961 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.2483, allocations: 30.45 kB / 400.9 MB, free: 5.945 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.2485, allocations: 166.9 kB / 401 MB, free: 5.789 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.2485, allocations: 21.97 kB / 401.1 MB, free: 5.777 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.043e-05/0.2486, allocations: 17.59 kB / 401.1 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003582/0.2489, allocations: 225.7 kB / 401.3 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.2489, allocations: 3.953 kB / 401.3 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.249, allocations: 7.203 kB / 401.3 MB, free: 5.645 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.249, allocations: 4.812 kB / 401.3 MB, free: 5.645 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002905/0.2493, allocations: 141.5 kB / 401.5 MB, free: 5.605 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009669/0.2502, allocations: 0.706 MB / 402.2 MB, free: 5.055 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003759/0.2506, allocations: 189.2 kB / 402.3 MB, free: 4.953 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002009/0.2508, allocations: 97.95 kB / 402.4 MB, free: 4.91 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.2508, allocations: 7.25 kB / 402.4 MB, free: 4.906 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.45e-05/0.2508, allocations: 41 kB / 402.5 MB, free: 4.859 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.654e-06/0.2508, allocations: 0 / 402.5 MB, free: 4.859 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.001308/0.2521, allocations: 0.7139 MB / 403.2 MB, free: 4.402 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.385e-05/0.2522, allocations: 80.17 kB / 403.3 MB, free: 4.309 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.2523, allocations: 183.4 kB / 403.5 MB, free: 4.18 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.2523, allocations: 31.02 kB / 403.5 MB, free: 4.145 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.482e-05/0.2524, allocations: 141 kB / 403.6 MB, free: 4.02 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.936e-05/0.2524, allocations: 99.42 kB / 403.7 MB, free: 3.941 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.582e-05/0.2525, allocations: 54.48 kB / 403.8 MB, free: 3.902 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.57e-05/0.2525, allocations: 332.8 kB / 404.1 MB, free: 3.582 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.2527, allocations: 64.31 kB / 404.2 MB, free: 3.562 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.2528, allocations: 109.7 kB / 404.3 MB, free: 3.496 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002807/0.2531, allocations: 185.3 kB / 404.5 MB, free: 3.391 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2531, allocations: 7.938 kB / 404.5 MB, free: 3.383 MB / 318.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003788/0.2535, allocations: 243.3 kB / 404.7 MB, free: 3.273 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.2535, allocations: 9.75 kB / 404.7 MB, free: 3.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2535, allocations: 1.219 kB / 404.7 MB, free: 3.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.2535, allocations: 10.97 kB / 404.7 MB, free: 3.262 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.2537, allocations: 61.92 kB / 404.8 MB, free: 3.258 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.2537, allocations: 6.875 kB / 404.8 MB, free: 3.254 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.2538, allocations: 12.34 kB / 404.8 MB, free: 3.246 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.2539, allocations: 7.438 kB / 404.8 MB, free: 3.246 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 8.658e-05/0.2539, allocations: 143.7 kB / 404.9 MB, free: 3.109 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.532e-05/0.254, allocations: 21.11 kB / 405 MB, free: 3.098 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.116e-05/0.2541, allocations: 26.47 kB / 405 MB, free: 3.074 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.2541, allocations: 6.891 kB / 405 MB, free: 3.074 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.2541, allocations: 1.219 kB / 405 MB, free: 3.074 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.2541, allocations: 0 / 405 MB, free: 3.074 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007116/0.2548, allocations: 0.5338 MB / 405.5 MB, free: 2.664 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.2548, allocations: 1.375 kB / 405.5 MB, free: 2.664 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002534/0.255, allocations: 60.67 kB / 405.6 MB, free: 2.656 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.255, allocations: 2.344 kB / 405.6 MB, free: 2.656 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.2551, allocations: 11.19 kB / 405.6 MB, free: 2.648 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/0.2551, allocations: 7.5 kB / 405.6 MB, free: 2.645 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.2551, allocations: 1.312 kB / 405.6 MB, free: 2.645 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005781/0.2556, allocations: 0.4953 MB / 406.1 MB, free: 2.301 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.936e-05/0.2557, allocations: 18.84 kB / 406.1 MB, free: 2.293 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.076e-05/0.2557, allocations: 6 kB / 406.1 MB, free: 2.289 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.2559, allocations: 17.84 kB / 406.2 MB, free: 2.277 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.045e-05/0.2559, allocations: 17.64 kB / 406.2 MB, free: 2.277 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.2559, allocations: 9.844 kB / 406.2 MB, free: 2.273 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.611e-05/0.256, allocations: 126.7 kB / 406.3 MB, free: 2.188 MB / 318.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.256, allocations: 0 / 406.3 MB, free: 2.188 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003576/0.2564, allocations: 51.47 kB / 406.4 MB, free: 2.18 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.0006689/0.257, allocations: 1.031 MB / 407.4 MB, free: 1.301 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003511/0.2574, allocations: 177.2 kB / 407.6 MB, free: 1.246 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.2574, allocations: 0 / 407.6 MB, free: 1.246 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.2576, allocations: 90.58 kB / 407.6 MB, free: 1.219 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004644/0.258, allocations: 45.86 kB / 407.7 MB, free: 1.195 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002863/0.2609, allocations: 2.641 MB / 410.3 MB, free: 15.22 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001547/0.261, allocations: 141.2 kB / 410.5 MB, free: 15.13 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001086/0.2611, allocations: 23.77 kB / 410.5 MB, free: 15.12 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.2613, allocations: 73.78 kB / 410.6 MB, free: 15.07 MB / 334.1 MB Notification: Performance of SimCode: time 7.71e-07/0.2613, allocations: 0 / 410.6 MB, free: 15.07 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.787/1.048, allocations: 5.061 MB / 415.6 MB, free: 12.68 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/13.1, allocations: 6.406 kB / 415.6 MB, free: 12.68 MB / 334.1 MB " [Timeout remaining time 647] (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 --stepSize=0.001 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.685352189932019]