Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.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.001245/0.001245, allocations: 112.8 kB / 19.17 MB, free: 3.891 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.00131/0.00131, allocations: 207.8 kB / 22.12 MB, free: 0.9492 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.371/1.371, allocations: 207.6 MB / 232.5 MB, free: 3.949 MB / 174.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.Accelerate,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Accelerate",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.001695/0.001695, allocations: 55.92 kB / 343 MB, free: 10.01 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09466/0.09635, allocations: 49.13 MB / 392.1 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002726/0.09908, allocations: 1.637 MB / 393.7 MB, free: 7.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002328/0.09931, allocations: 67.78 kB / 393.8 MB, free: 7.004 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.268e-05/0.09937, allocations: 0 / 393.8 MB, free: 7.004 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.637e-05/0.09947, allocations: 11.86 kB / 393.8 MB, free: 6.992 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.855e-05/0.09952, allocations: 15.86 kB / 393.8 MB, free: 6.977 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001086/0.09963, allocations: 23.91 kB / 393.9 MB, free: 6.953 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.09975, allocations: 63.72 kB / 393.9 MB, free: 6.891 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.09987, allocations: 19.98 kB / 393.9 MB, free: 6.871 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.972e-05/0.09991, allocations: 23.94 kB / 394 MB, free: 6.848 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.125e-05/0.09997, allocations: 23.86 kB / 394 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.09999, allocations: 4 kB / 394 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.394e-05/0.1, allocations: 4 kB / 394 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.53e-05/0.1, allocations: 23.86 kB / 394 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.734e-05/0.1001, allocations: 27.86 kB / 394 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.1002, allocations: 63.73 kB / 394.1 MB, free: 6.703 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1002, allocations: 0 / 394.1 MB, free: 6.703 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1002, allocations: 0 / 394.1 MB, free: 6.703 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.1002, allocations: 0 / 394.1 MB, free: 6.703 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004643/0.1007, allocations: 375.1 kB / 394.5 MB, free: 6.285 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.1007, allocations: 12.03 kB / 394.5 MB, free: 6.273 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.549e-05/0.1007, allocations: 192 / 394.5 MB, free: 6.273 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.657e-05/0.1007, allocations: 38.75 kB / 394.5 MB, free: 6.227 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.439e-05/0.1008, allocations: 4.938 kB / 394.5 MB, free: 6.223 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.101, allocations: 180.3 kB / 394.7 MB, free: 6.008 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.101, allocations: 8.375 kB / 394.7 MB, free: 6 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.101, allocations: 8.375 kB / 394.7 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.1012, allocations: 81.86 kB / 394.8 MB, free: 5.906 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.1012, allocations: 0 / 394.8 MB, free: 5.906 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.405e-06/0.1012, allocations: 0 / 394.8 MB, free: 5.906 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.1012, allocations: 4 kB / 394.8 MB, free: 5.902 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.051e-05/0.1013, allocations: 39.97 kB / 394.8 MB, free: 5.863 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006143/0.1019, allocations: 371.6 kB / 395.2 MB, free: 5.445 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.102, allocations: 62.5 kB / 395.3 MB, free: 5.375 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.526e-05/0.102, allocations: 16.86 kB / 395.3 MB, free: 5.355 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-06/0.102, allocations: 0 / 395.3 MB, free: 5.355 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.1021, allocations: 34.56 kB / 395.3 MB, free: 5.312 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.1021, allocations: 4 kB / 395.3 MB, free: 5.309 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007393/0.1028, allocations: 0.5099 MB / 395.8 MB, free: 4.707 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.1028, allocations: 55.34 kB / 395.9 MB, free: 4.641 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.103, allocations: 122 kB / 396 MB, free: 4.512 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.103, allocations: 25.7 kB / 396 MB, free: 4.48 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.189e-05/0.103, allocations: 107.9 kB / 396.1 MB, free: 4.371 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.1031, allocations: 35.72 kB / 396.2 MB, free: 4.336 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.81e-05/0.1031, allocations: 25.72 kB / 396.2 MB, free: 4.305 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1032, allocations: 326.8 kB / 396.5 MB, free: 3.977 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.727e-05/0.1033, allocations: 20 kB / 396.5 MB, free: 3.957 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.966e-05/0.1034, allocations: 57.14 kB / 396.6 MB, free: 3.883 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.1035, allocations: 97.06 kB / 396.7 MB, free: 3.77 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1035, allocations: 0 / 396.7 MB, free: 3.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001663/0.1036, allocations: 109.5 kB / 396.8 MB, free: 3.656 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.1037, allocations: 8 kB / 396.8 MB, free: 3.648 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1037, allocations: 0 / 396.8 MB, free: 3.648 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.1037, allocations: 4 kB / 396.8 MB, free: 3.645 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.885e-05/0.1038, allocations: 31.86 kB / 396.8 MB, free: 3.613 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.1038, allocations: 4 kB / 396.8 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.902e-05/0.1038, allocations: 4.094 kB / 396.8 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.1038, allocations: 4 kB / 396.8 MB, free: 3.602 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (13): * Single equations (assignments): 13 * 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.683e-05/0.1039, allocations: 121.8 kB / 397 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.938e-05/0.1039, allocations: 11.89 kB / 397 MB, free: 3.461 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.032e-05/0.104, allocations: 12.38 kB / 397 MB, free: 3.449 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.104, allocations: 3.938 kB / 397 MB, free: 3.445 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.104, allocations: 0 / 397 MB, free: 3.445 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-06/0.104, allocations: 0 / 397 MB, free: 3.445 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004871/0.1045, allocations: 406.6 kB / 397.4 MB, free: 2.977 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1045, allocations: 0 / 397.4 MB, free: 2.977 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.534e-05/0.1046, allocations: 27.92 kB / 397.4 MB, free: 2.949 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1046, allocations: 0 / 397.4 MB, free: 2.949 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.1046, allocations: 4 kB / 397.4 MB, free: 2.945 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.1046, allocations: 4 kB / 397.4 MB, free: 2.941 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1046, allocations: 4.156 kB / 397.4 MB, free: 2.938 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002485/0.1048, allocations: 227.7 kB / 397.7 MB, free: 2.684 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.84e-05/0.1049, allocations: 89.09 kB / 397.7 MB, free: 2.578 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.1049, allocations: 4.531 kB / 397.7 MB, free: 2.574 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.917e-05/0.105, allocations: 4 kB / 397.7 MB, free: 2.57 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.373e-05/0.105, allocations: 11.92 kB / 397.8 MB, free: 2.559 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.105, allocations: 8 kB / 397.8 MB, free: 2.551 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.694e-05/0.1051, allocations: 95.2 kB / 397.9 MB, free: 2.457 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1051, allocations: 0 / 397.9 MB, free: 2.457 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002489/0.1053, allocations: 19.88 kB / 397.9 MB, free: 2.438 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (accelerate.s,accelerate.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 (9): * Single equations (assignments): 9 * 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.0005365/0.1058, allocations: 0.7673 MB / 398.6 MB, free: 1.629 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001308/0.106, allocations: 64.19 kB / 398.7 MB, free: 1.566 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.106, allocations: 0 / 398.7 MB, free: 1.566 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.897e-05/0.106, allocations: 24.12 kB / 398.7 MB, free: 1.543 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.1063, allocations: 15.98 kB / 398.7 MB, free: 1.527 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/0.108, allocations: 1.666 MB / 400.4 MB, free: 15.72 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.1083, allocations: 0.7002 MB / 401.1 MB, free: 15 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.457e-05/0.1084, allocations: 8.422 kB / 401.1 MB, free: 14.98 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.119e-05/0.1084, allocations: 23.38 kB / 401.1 MB, free: 14.96 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1084, allocations: 0 / 401.1 MB, free: 14.96 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01854/0.127, allocations: 1.962 MB / 403.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.765/7.892, allocations: 7.984 kB / 403.1 MB, free: 12.94 MB / 334.1 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Accelerate_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Accelerate.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.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: 10.152661368018016]