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.001576/0.001576, allocations: 100.8 kB / 21.95 MB, free: 5.215 MB / 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.001607/0.001607, allocations: 213.5 kB / 25.26 MB, free: 3.129 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.316/1.316, allocations: 207.7 MB / 236.1 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 179] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="cs",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.001698/0.001698, allocations: 55.86 kB / 348 MB, free: 9.887 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2288, allocations: 49.16 MB / 397.1 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003317/0.2321, allocations: 2.262 MB / 399.4 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008234/0.233, allocations: 0.5991 MB / 400 MB, free: 6.941 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.2331, allocations: 3.219 kB / 400 MB, free: 6.941 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001322/0.2332, allocations: 43.05 kB / 400 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.2333, allocations: 64.58 kB / 400.1 MB, free: 6.867 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002197/0.2335, allocations: 65.92 kB / 400.2 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002447/0.2338, allocations: 248.5 kB / 400.4 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.234, allocations: 75.53 kB / 400.5 MB, free: 6.664 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.2341, allocations: 103 kB / 400.6 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.2342, allocations: 105.1 kB / 400.7 MB, free: 6.566 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.3e-05/0.2343, allocations: 20.09 kB / 400.7 MB, free: 6.566 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.683e-05/0.2343, allocations: 19.5 kB / 400.7 MB, free: 6.566 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.001e-05/0.2343, allocations: 54.34 kB / 400.8 MB, free: 6.527 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.162e-05/0.2344, allocations: 93.05 kB / 400.9 MB, free: 6.48 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002666/0.2347, allocations: 261.3 kB / 401.1 MB, free: 6.375 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2347, allocations: 0.7969 kB / 401.1 MB, free: 6.375 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.2347, allocations: 0 / 401.1 MB, free: 6.375 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.2347, allocations: 1.062 kB / 401.1 MB, free: 6.375 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.000624/0.2353, allocations: 461.4 kB / 401.6 MB, free: 6.004 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.2354, allocations: 14.11 kB / 401.6 MB, free: 6 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.522e-05/0.2354, allocations: 13.28 kB / 401.6 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.758e-05/0.2354, allocations: 54.72 kB / 401.6 MB, free: 5.941 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.532e-05/0.2355, allocations: 29.95 kB / 401.7 MB, free: 5.926 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002388/0.2357, allocations: 172.1 kB / 401.8 MB, free: 5.766 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.2357, allocations: 16.34 kB / 401.9 MB, free: 5.758 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.047e-05/0.2358, allocations: 22.14 kB / 401.9 MB, free: 5.75 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003681/0.2361, allocations: 221 kB / 402.1 MB, free: 5.633 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.2361, allocations: 5.016 kB / 402.1 MB, free: 5.629 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.2362, allocations: 6.828 kB / 402.1 MB, free: 5.625 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.2362, allocations: 8.781 kB / 402.1 MB, free: 5.621 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002902/0.2365, allocations: 142.9 kB / 402.3 MB, free: 5.582 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009293/0.2374, allocations: 0.7031 MB / 403 MB, free: 5.035 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003656/0.2378, allocations: 189.5 kB / 403.1 MB, free: 4.934 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002035/0.238, allocations: 105.7 kB / 403.3 MB, free: 4.883 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.238, allocations: 9.812 kB / 403.3 MB, free: 4.875 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.557e-05/0.238, allocations: 34.09 kB / 403.3 MB, free: 4.836 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.353e-06/0.238, allocations: 3.938 kB / 403.3 MB, free: 4.832 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.001377/0.2394, allocations: 0.7201 MB / 404 MB, free: 4.367 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.2394, allocations: 83.55 kB / 404.1 MB, free: 4.273 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.2395, allocations: 179.2 kB / 404.3 MB, free: 4.148 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.2396, allocations: 30.8 kB / 404.3 MB, free: 4.113 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.306e-05/0.2396, allocations: 140.2 kB / 404.4 MB, free: 3.988 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.623e-05/0.2397, allocations: 103.8 kB / 404.5 MB, free: 3.906 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.065e-05/0.2398, allocations: 47.38 kB / 404.6 MB, free: 3.875 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.476e-05/0.2398, allocations: 330.1 kB / 404.9 MB, free: 3.555 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.2399, allocations: 62.02 kB / 405 MB, free: 3.535 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.2401, allocations: 109.1 kB / 405.1 MB, free: 3.469 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000278/0.2404, allocations: 196.3 kB / 405.3 MB, free: 3.355 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.2404, allocations: 0 / 405.3 MB, free: 3.355 MB / 318.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003865/0.2408, allocations: 241.7 kB / 405.5 MB, free: 3.246 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.2408, allocations: 9.594 kB / 405.5 MB, free: 3.242 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.2408, allocations: 5.438 kB / 405.5 MB, free: 3.238 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.2408, allocations: 3.969 kB / 405.5 MB, free: 3.238 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002452/0.241, allocations: 58.92 kB / 405.6 MB, free: 3.234 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.2411, allocations: 7.078 kB / 405.6 MB, free: 3.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.2412, allocations: 11.09 kB / 405.6 MB, free: 3.227 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.2412, allocations: 15.33 kB / 405.6 MB, free: 3.219 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.781e-05/0.2413, allocations: 136.9 kB / 405.7 MB, free: 3.086 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.728e-05/0.2413, allocations: 25.98 kB / 405.8 MB, free: 3.07 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.78e-05/0.2414, allocations: 28.67 kB / 405.8 MB, free: 3.047 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.2414, allocations: 7.531 kB / 405.8 MB, free: 3.043 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.2414, allocations: 0 / 405.8 MB, free: 3.043 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.2414, allocations: 2.688 kB / 405.8 MB, free: 3.043 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007175/0.2421, allocations: 0.5356 MB / 406.3 MB, free: 2.633 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.2421, allocations: 1.156 kB / 406.3 MB, free: 2.633 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002568/0.2424, allocations: 58.2 kB / 406.4 MB, free: 2.629 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.2424, allocations: 1.781 kB / 406.4 MB, free: 2.629 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.2424, allocations: 11.16 kB / 406.4 MB, free: 2.621 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.2424, allocations: 8.719 kB / 406.4 MB, free: 2.617 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2424, allocations: 1.875 kB / 406.4 MB, free: 2.617 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005067/0.2429, allocations: 0.4898 MB / 406.9 MB, free: 2.277 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.64e-05/0.2429, allocations: 14.25 kB / 406.9 MB, free: 2.27 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.185e-05/0.243, allocations: 10.52 kB / 406.9 MB, free: 2.266 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.2431, allocations: 12.06 kB / 407 MB, free: 2.258 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.301e-05/0.2432, allocations: 19.22 kB / 407 MB, free: 2.254 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.2432, allocations: 15.53 kB / 407 MB, free: 2.246 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.736e-05/0.2433, allocations: 132.4 kB / 407.1 MB, free: 2.156 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2433, allocations: 0 / 407.1 MB, free: 2.156 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003138/0.2436, allocations: 46.62 kB / 407.2 MB, free: 2.152 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.0006802/0.2443, allocations: 1.033 MB / 408.2 MB, free: 1.273 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003909/0.2447, allocations: 175.8 kB / 408.4 MB, free: 1.219 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.2447, allocations: 1.531 kB / 408.4 MB, free: 1.219 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001851/0.2448, allocations: 89.83 kB / 408.5 MB, free: 1.191 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005009/0.2454, allocations: 42.23 kB / 408.5 MB, free: 1.172 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00346/0.2488, allocations: 2.646 MB / 411.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001931/0.249, allocations: 140.9 kB / 411.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001369/0.2491, allocations: 21.95 kB / 411.3 MB, free: 15.1 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.2493, allocations: 71.59 kB / 411.4 MB, free: 15.05 MB / 334.1 MB Notification: Performance of SimCode: time 1.453e-06/0.2493, allocations: 3.938 kB / 411.4 MB, free: 15.05 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02761/0.2769, allocations: 4.771 MB / 416.1 MB, free: 13 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/10.9, allocations: 6.312 kB / 416.2 MB, free: 13 MB / 334.1 MB " [Timeout remaining time 649] (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: 13.120675077894703]