Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.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.0009165/0.0009165, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.004553/0.004553, allocations: 162.5 kB / 24.69 MB, free: 8.887 MB / 18.57 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 0.8118/0.8118, allocations: 158.6 MB / 186.5 MB, free: 3.031 MB / 170.7 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.Damper,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 298.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.695e-05/1.862e-05, allocations: 2.281 kB / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002656/0.002675, allocations: 2.242 MB / 300.7 MB, free: 1.266 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005413/0.003216, allocations: 243.1 kB / 300.9 MB, free: 1.027 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.00332, allocations: 7.938 kB / 300.9 MB, free: 1.02 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001243/0.003445, allocations: 43.58 kB / 301 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.00356, allocations: 87.2 kB / 301 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001508/0.003711, allocations: 59.92 kB / 301.1 MB, free: 0.832 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002203/0.003931, allocations: 298.4 kB / 301.4 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.004085, allocations: 70.03 kB / 301.5 MB, free: 488 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.00423, allocations: 171.6 kB / 301.6 MB, free: 316 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.004332, allocations: 87.72 kB / 301.7 MB, free: 228 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.068e-05/0.004363, allocations: 20 kB / 301.7 MB, free: 208 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.218e-05/0.004385, allocations: 24 kB / 301.8 MB, free: 184 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.397e-05/0.004419, allocations: 55.8 kB / 301.8 MB, free: 128 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.183e-05/0.004481, allocations: 91.77 kB / 301.9 MB, free: 36 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1221/0.1265, allocations: 285.9 kB / 302.2 MB, free: 13.5 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1266, allocations: 1.438 kB / 302.2 MB, free: 13.5 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1266, allocations: 0.75 kB / 302.2 MB, free: 13.5 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1266, allocations: 3.938 kB / 302.2 MB, free: 13.5 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.000513/0.1271, allocations: 476.4 kB / 302.7 MB, free: 13.16 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.1271, allocations: 17.45 kB / 302.7 MB, free: 13.15 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.03e-05/0.1272, allocations: 58.47 kB / 302.7 MB, free: 13.11 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.422e-05/0.1272, allocations: 31.47 kB / 302.8 MB, free: 13.1 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.1274, allocations: 187.1 kB / 302.9 MB, free: 12.95 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.1275, allocations: 19 kB / 303 MB, free: 12.95 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.645e-05/0.1275, allocations: 25.2 kB / 303 MB, free: 12.95 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002947/0.1278, allocations: 243.2 kB / 303.2 MB, free: 12.88 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.1278, allocations: 7.375 kB / 303.2 MB, free: 12.88 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.1278, allocations: 16.16 kB / 303.2 MB, free: 12.88 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.1278, allocations: 9.969 kB / 303.3 MB, free: 12.88 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002012/0.128, allocations: 155.7 kB / 303.4 MB, free: 12.88 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006917/0.1287, allocations: 0.7013 MB / 304.1 MB, free: 12.45 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003913/0.1291, allocations: 280.7 kB / 304.4 MB, free: 12.38 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/0.1293, allocations: 121.8 kB / 304.5 MB, free: 12.36 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.1293, allocations: 11.42 kB / 304.5 MB, free: 12.36 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.473e-05/0.1293, allocations: 37.66 kB / 304.5 MB, free: 12.32 MB / 282.7 MB Notification: Performance of pre-optimization done (n=33): time 1.633e-06/0.1293, allocations: 3.094 kB / 304.6 MB, free: 12.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=45): time 0.001532/0.1309, allocations: 1.497 MB / 306 MB, free: 11.38 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/0.1309, allocations: 108.9 kB / 306.2 MB, free: 11.25 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.131, allocations: 195.2 kB / 306.3 MB, free: 11.11 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.131, allocations: 37.56 kB / 306.4 MB, free: 11.08 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.078e-05/0.1311, allocations: 140.5 kB / 306.5 MB, free: 10.95 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.882e-05/0.1311, allocations: 168.8 kB / 306.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.875e-05/0.1312, allocations: 72.86 kB / 306.8 MB, free: 10.78 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.223e-05/0.1312, allocations: 338.2 kB / 307.1 MB, free: 10.45 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.1314, allocations: 92 kB / 307.2 MB, free: 10.42 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.1315, allocations: 161.2 kB / 307.3 MB, free: 10.32 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002704/0.1318, allocations: 278.9 kB / 307.6 MB, free: 10.17 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1318, allocations: 3.938 kB / 307.6 MB, free: 10.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003459/0.1321, allocations: 341.2 kB / 307.9 MB, free: 10.02 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.1321, allocations: 6.766 kB / 308 MB, free: 10.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.1321, allocations: 5.094 kB / 308 MB, free: 10.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.1322, allocations: 9.266 kB / 308 MB, free: 10.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.1324, allocations: 92.33 kB / 308.1 MB, free: 10.01 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.1324, allocations: 8.234 kB / 308.1 MB, free: 10.01 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.216e-05/0.1325, allocations: 7.875 kB / 308.1 MB, free: 10.01 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.1325, allocations: 13.47 kB / 308.1 MB, free: 10 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (54): * Single equations (assignments): 54 * 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.852e-05/0.1326, allocations: 150.2 kB / 308.2 MB, free: 9.867 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.235e-05/0.1326, allocations: 34.31 kB / 308.3 MB, free: 9.855 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.397e-05/0.1327, allocations: 36.28 kB / 308.3 MB, free: 9.828 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.1327, allocations: 13.62 kB / 308.3 MB, free: 9.82 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/0.1327, allocations: 1.5 kB / 308.3 MB, free: 9.82 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.1327, allocations: 3.578 kB / 308.3 MB, free: 9.82 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008765/0.1335, allocations: 0.9796 MB / 309.3 MB, free: 9.145 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.1336, allocations: 2.734 kB / 309.3 MB, free: 9.145 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000218/0.1338, allocations: 91.75 kB / 309.4 MB, free: 9.137 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.1338, allocations: 4.719 kB / 309.4 MB, free: 9.137 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.1338, allocations: 14.58 kB / 309.4 MB, free: 9.129 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.032e-06/0.1338, allocations: 11.72 kB / 309.4 MB, free: 9.125 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.1338, allocations: 3.469 kB / 309.4 MB, free: 9.125 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004768/0.1343, allocations: 0.7077 MB / 310.1 MB, free: 8.621 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.023e-05/0.1343, allocations: 32.22 kB / 310.2 MB, free: 8.602 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.1343, allocations: 14.06 kB / 310.2 MB, free: 8.594 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.1345, allocations: 12.22 kB / 310.2 MB, free: 8.586 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.153e-05/0.1345, allocations: 39.94 kB / 310.2 MB, free: 8.574 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.1345, allocations: 11.36 kB / 310.2 MB, free: 8.574 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.807e-05/0.1346, allocations: 148.7 kB / 310.4 MB, free: 8.473 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1346, allocations: 1.219 kB / 310.4 MB, free: 8.473 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002949/0.1349, allocations: 71.34 kB / 310.5 MB, free: 8.461 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper2.s_rel,damper2.v_rel,damper1.s_rel,damper1.v_rel) * 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 (45): * Single equations (assignments): 45 * 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.0005839/0.1355, allocations: 1.258 MB / 311.7 MB, free: 7.414 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003247/0.1358, allocations: 264.4 kB / 312 MB, free: 7.324 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1358, allocations: 1.125 kB / 312 MB, free: 7.324 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.1359, allocations: 134.7 kB / 312.1 MB, free: 7.281 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004804/0.1364, allocations: 65.52 kB / 312.2 MB, free: 7.262 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002259/0.1387, allocations: 3.172 MB / 315.3 MB, free: 4.945 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001642/0.1388, allocations: 159.6 kB / 315.5 MB, free: 4.867 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001059/0.1389, allocations: 34.89 kB / 315.5 MB, free: 4.863 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.767e-05/0.139, allocations: 92.67 kB / 315.6 MB, free: 4.797 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.139, allocations: 0.7656 kB / 315.6 MB, free: 4.797 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02503/0.1641, allocations: 6.828 MB / 322.4 MB, free: 2.664 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.899/7.063, allocations: 8.953 kB / 322.5 MB, free: 2.656 MB / 282.7 MB " [Timeout remaining time 653] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Damper_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Damper.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.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: 8.568774545565248]