Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.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.0008142/0.0008142, 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.003879/0.003879, allocations: 161.9 kB / 24.69 MB, free: 9.418 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.8046/0.8046, 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.InitialConditions,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 298.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.118e-05/2.314e-05, allocations: 2.281 kB / 298.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003076/0.003099, allocations: 2.296 MB / 300.7 MB, free: 1.215 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004764/0.003575, allocations: 247.1 kB / 301 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.003675, allocations: 7.938 kB / 301 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001264/0.003802, allocations: 39.58 kB / 301 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000122/0.003924, allocations: 103 kB / 301.1 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001546/0.004078, allocations: 67.84 kB / 301.2 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002371/0.004316, allocations: 334.3 kB / 301.5 MB, free: 440 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.004469, allocations: 71.58 kB / 301.6 MB, free: 368 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.00461, allocations: 179.6 kB / 301.7 MB, free: 188 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.004718, allocations: 95.69 kB / 301.8 MB, free: 92 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.507e-05/0.004753, allocations: 28 kB / 301.9 MB, free: 64 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.712e-05/0.004781, allocations: 24 kB / 301.9 MB, free: 40 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1321/0.1368, allocations: 48.28 kB / 301.9 MB, free: 13.48 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001886/0.137, allocations: 103.8 kB / 302 MB, free: 13.48 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000442/0.1375, allocations: 316.2 kB / 302.3 MB, free: 13.46 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.1375, allocations: 0.8125 kB / 302.3 MB, free: 13.46 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1375, allocations: 1.125 kB / 302.4 MB, free: 13.46 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.1375, allocations: 0.8438 kB / 302.4 MB, free: 13.46 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0006412/0.1381, allocations: 0.4966 MB / 302.8 MB, free: 13.11 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.1382, allocations: 14.55 kB / 302.9 MB, free: 13.11 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.495e-05/0.1382, allocations: 61.77 kB / 302.9 MB, free: 13.07 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.64e-05/0.1383, allocations: 32.22 kB / 303 MB, free: 13.05 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/0.1386, allocations: 192.3 kB / 303.1 MB, free: 12.9 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.1386, allocations: 22.62 kB / 303.2 MB, free: 12.9 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.949e-05/0.1386, allocations: 26.72 kB / 303.2 MB, free: 12.9 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003154/0.139, allocations: 252.2 kB / 303.4 MB, free: 12.84 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.139, allocations: 14.31 kB / 303.4 MB, free: 12.84 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/0.139, allocations: 9.438 kB / 303.5 MB, free: 12.84 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.139, allocations: 11.16 kB / 303.5 MB, free: 12.84 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002308/0.1392, allocations: 178.6 kB / 303.6 MB, free: 12.83 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007357/0.14, allocations: 0.654 MB / 304.3 MB, free: 12.48 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003119/0.1403, allocations: 261.2 kB / 304.6 MB, free: 12.44 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001281/0.1404, allocations: 115.7 kB / 304.7 MB, free: 12.42 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.1404, allocations: 5.641 kB / 304.7 MB, free: 12.42 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.1404, allocations: 33.48 kB / 304.7 MB, free: 12.38 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 2.685e-06/0.1404, allocations: 1.094 kB / 304.7 MB, free: 12.38 MB / 282.7 MB Notification: Performance of matching and sorting (n=48): time 0.001655/0.1421, allocations: 1.417 MB / 306.1 MB, free: 11.55 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.1421, allocations: 86.72 kB / 306.2 MB, free: 11.46 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.1422, allocations: 184.5 kB / 306.4 MB, free: 11.33 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.1423, allocations: 40.27 kB / 306.4 MB, free: 11.29 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.971e-05/0.1423, allocations: 142 kB / 306.6 MB, free: 11.16 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.095e-05/0.1424, allocations: 177.9 kB / 306.7 MB, free: 11.02 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.2e-05/0.1425, allocations: 74.33 kB / 306.8 MB, free: 10.98 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.739e-05/0.1425, allocations: 339.3 kB / 307.1 MB, free: 10.66 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.1426, allocations: 102.2 kB / 307.2 MB, free: 10.62 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.1428, allocations: 154.7 kB / 307.4 MB, free: 10.54 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002817/0.1431, allocations: 285.5 kB / 307.7 MB, free: 10.39 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1431, allocations: 1.531 kB / 307.7 MB, free: 10.39 MB / 282.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003752/0.1434, allocations: 373.5 kB / 308 MB, free: 10.23 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.1435, allocations: 13.98 kB / 308.1 MB, free: 10.22 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1435, allocations: 0 / 308.1 MB, free: 10.22 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.1435, allocations: 4.219 kB / 308.1 MB, free: 10.22 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002551/0.1437, allocations: 102.5 kB / 308.2 MB, free: 10.22 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.1437, allocations: 3.797 kB / 308.2 MB, free: 10.22 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.285e-05/0.1438, allocations: 10.22 kB / 308.2 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.1438, allocations: 14.66 kB / 308.2 MB, free: 10.21 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (58): * Single equations (assignments): 58 * 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.968e-05/0.1439, allocations: 154.5 kB / 308.3 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.17e-05/0.144, allocations: 34.61 kB / 308.4 MB, free: 10.05 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.203e-05/0.144, allocations: 41.69 kB / 308.4 MB, free: 10.02 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.144, allocations: 4.438 kB / 308.4 MB, free: 10.02 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.144, allocations: 1.312 kB / 308.4 MB, free: 10.02 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.144, allocations: 2.766 kB / 308.4 MB, free: 10.02 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008126/0.1448, allocations: 0.8822 MB / 309.3 MB, free: 9.445 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1448, allocations: 1.344 kB / 309.3 MB, free: 9.445 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002489/0.1451, allocations: 95.75 kB / 309.4 MB, free: 9.441 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.1451, allocations: 2.906 kB / 309.4 MB, free: 9.441 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.1451, allocations: 12.72 kB / 309.4 MB, free: 9.434 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1451, allocations: 2.188 kB / 309.4 MB, free: 9.434 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.1451, allocations: 5.375 kB / 309.4 MB, free: 9.43 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004978/0.1456, allocations: 0.6389 MB / 310.1 MB, free: 9.035 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.763e-05/0.1457, allocations: 24.94 kB / 310.1 MB, free: 9.02 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.1457, allocations: 12.03 kB / 310.1 MB, free: 9.012 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.038e-05/0.1458, allocations: 10.78 kB / 310.1 MB, free: 9.004 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.851e-05/0.1458, allocations: 32.45 kB / 310.1 MB, free: 9 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.1458, allocations: 13.89 kB / 310.1 MB, free: 8.996 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.528e-05/0.1459, allocations: 139.6 kB / 310.3 MB, free: 8.902 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1459, allocations: 0 / 310.3 MB, free: 8.902 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002549/0.1461, allocations: 81.62 kB / 310.4 MB, free: 8.887 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (m1.s,m1.v,sd1.s_rel,sd1.v_rel,sd2.s_rel,sd2.v_rel,m4.s,m4.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 (48): * Single equations (assignments): 48 * 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.0006131/0.1468, allocations: 1.19 MB / 311.6 MB, free: 7.969 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003506/0.1471, allocations: 278.2 kB / 311.8 MB, free: 7.883 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1471, allocations: 0 / 311.8 MB, free: 7.883 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.1472, allocations: 141.2 kB / 312 MB, free: 7.852 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004027/0.1476, allocations: 73.33 kB / 312 MB, free: 7.824 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002385/0.15, allocations: 3.114 MB / 315.2 MB, free: 5.68 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002054/0.1502, allocations: 177.2 kB / 315.3 MB, free: 5.59 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001904/0.1504, allocations: 35.23 kB / 315.4 MB, free: 5.582 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.1506, allocations: 101.6 kB / 315.5 MB, free: 5.512 MB / 282.7 MB Notification: Performance of SimCode: time 2.564e-06/0.1506, allocations: 0 / 315.5 MB, free: 5.512 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02257/0.1732, allocations: 6.984 MB / 322.4 MB, free: 3.262 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.937/7.11, allocations: 1.375 kB / 322.4 MB, free: 3.262 MB / 282.7 MB " [Timeout remaining time 653] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_InitialConditions_fmu --startTime=0 --stopTime=5 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_InitialConditions.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.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.656836341135204]