Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.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.000853/0.000853, allocations: 83.62 kB / 21.43 MB, free: 3.129 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.004124/0.004124, allocations: 162.9 kB / 24.69 MB, free: 9.414 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.8101/0.8101, 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.SignConvention,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 298.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.969e-06/1.104e-05, allocations: 2.281 kB / 298.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.001989/0.002, allocations: 1.995 MB / 300.4 MB, free: 1.516 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002982/0.002298, allocations: 163.3 kB / 300.6 MB, free: 1.355 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.089e-05/0.002379, allocations: 7.938 kB / 300.6 MB, free: 1.348 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000113/0.002492, allocations: 31.72 kB / 300.6 MB, free: 1.316 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.906e-05/0.002551, allocations: 43.58 kB / 300.7 MB, free: 1.273 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001313/0.002682, allocations: 47.92 kB / 300.7 MB, free: 1.227 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000163/0.002845, allocations: 191 kB / 300.9 MB, free: 1.039 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.00296, allocations: 38.47 kB / 300.9 MB, free: 1 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.874e-05/0.003039, allocations: 103.8 kB / 301 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.339e-05/0.003112, allocations: 47.86 kB / 301.1 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.562e-05/0.003138, allocations: 16 kB / 301.1 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.536e-05/0.003153, allocations: 16 kB / 301.1 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.105e-05/0.003184, allocations: 35.84 kB / 301.1 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.089e-05/0.003225, allocations: 51.91 kB / 301.2 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.00338, allocations: 183.3 kB / 301.4 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.003382, allocations: 0 / 301.4 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.003382, allocations: 0 / 301.4 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.898e-06/0.003386, allocations: 0 / 301.4 MB, free: 0.5547 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0003923/0.003778, allocations: 389.5 kB / 301.8 MB, free: 148 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.003813, allocations: 23.92 kB / 301.8 MB, free: 124 kB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.686e-05/0.00385, allocations: 46.73 kB / 301.8 MB, free: 68 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.78e-05/0.003878, allocations: 24.78 kB / 301.9 MB, free: 44 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1114/0.1152, allocations: 153.6 kB / 302 MB, free: 15.29 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.1153, allocations: 13.62 kB / 302 MB, free: 15.29 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.589e-05/0.1153, allocations: 20.53 kB / 302 MB, free: 15.29 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002608/0.1156, allocations: 186.2 kB / 302.2 MB, free: 15.21 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.1156, allocations: 4.25 kB / 302.2 MB, free: 15.21 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.1156, allocations: 8.203 kB / 302.2 MB, free: 15.21 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/0.1156, allocations: 5.406 kB / 302.2 MB, free: 15.21 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001464/0.1158, allocations: 98.83 kB / 302.3 MB, free: 15.21 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007908/0.1165, allocations: 0.8932 MB / 303.2 MB, free: 14.52 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.1167, allocations: 97.83 kB / 303.3 MB, free: 14.45 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.073e-05/0.1167, allocations: 45.86 kB / 303.4 MB, free: 14.42 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.789e-06/0.1167, allocations: 6.031 kB / 303.4 MB, free: 14.42 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.364e-05/0.1167, allocations: 34.59 kB / 303.4 MB, free: 14.38 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 2.245e-06/0.1167, allocations: 0 / 303.4 MB, free: 14.38 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002306/0.117, allocations: 127.1 kB / 303.5 MB, free: 14.34 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.117, allocations: 104.7 kB / 303.6 MB, free: 14.21 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.1171, allocations: 213.8 kB / 303.8 MB, free: 14.1 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.943e-06/0.1171, allocations: 29.23 kB / 303.9 MB, free: 14.07 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.079e-05/0.1172, allocations: 146.1 kB / 304 MB, free: 13.96 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.1172, allocations: 48.25 kB / 304.1 MB, free: 13.93 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.922e-05/0.1172, allocations: 47.98 kB / 304.1 MB, free: 13.9 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.758e-05/0.1173, allocations: 329.5 kB / 304.4 MB, free: 13.59 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.146e-05/0.1173, allocations: 37.2 kB / 304.5 MB, free: 13.59 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.313e-05/0.1174, allocations: 140.7 kB / 304.6 MB, free: 13.46 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.1175, allocations: 201.4 kB / 304.8 MB, free: 13.32 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.1175, allocations: 1.375 kB / 304.8 MB, free: 13.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002206/0.1178, allocations: 215.5 kB / 305 MB, free: 13.26 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.1178, allocations: 6.656 kB / 305 MB, free: 13.26 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.1178, allocations: 7.438 kB / 305 MB, free: 13.26 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.1178, allocations: 8.641 kB / 305 MB, free: 13.26 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.1179, allocations: 51.88 kB / 305.1 MB, free: 13.26 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.1179, allocations: 9.641 kB / 305.1 MB, free: 13.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.102e-05/0.118, allocations: 29.97 kB / 305.1 MB, free: 13.24 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.118, allocations: 9.156 kB / 305.1 MB, free: 13.24 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (28): * Single equations (assignments): 28 * 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 5.865e-05/0.1181, allocations: 131.5 kB / 305.3 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.877e-05/0.1181, allocations: 26.11 kB / 305.3 MB, free: 13.11 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.545e-05/0.1181, allocations: 25.56 kB / 305.3 MB, free: 13.1 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.1182, allocations: 2.156 kB / 305.3 MB, free: 13.1 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.1182, allocations: 1.5 kB / 305.3 MB, free: 13.1 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.1182, allocations: 6.547 kB / 305.3 MB, free: 13.1 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002501/0.1184, allocations: 200.2 kB / 305.5 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1184, allocations: 5.656 kB / 305.5 MB, free: 12.94 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.931e-05/0.1185, allocations: 29.84 kB / 305.5 MB, free: 12.94 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1185, allocations: 2.188 kB / 305.5 MB, free: 12.94 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.1185, allocations: 1.859 kB / 305.6 MB, free: 12.94 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.1185, allocations: 1.953 kB / 305.6 MB, free: 12.94 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1185, allocations: 2.156 kB / 305.6 MB, free: 12.94 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002056/0.1187, allocations: 387.6 kB / 305.9 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.404e-05/0.1187, allocations: 27.98 kB / 306 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.1188, allocations: 1.062 kB / 306 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.174e-05/0.1188, allocations: 2.141 kB / 306 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.998e-05/0.1189, allocations: 12.02 kB / 306 MB, free: 12.6 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.1189, allocations: 3.703 kB / 306 MB, free: 12.6 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.726e-05/0.119, allocations: 153.1 kB / 306.1 MB, free: 12.5 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.119, allocations: 0 / 306.1 MB, free: 12.5 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002666/0.1192, allocations: 36.12 kB / 306.2 MB, free: 12.5 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (mass1.s,mass1.v,mass2.s,mass2.v,mass3.s,mass3.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 (12): * Single equations (assignments): 12 * 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.0002682/0.1195, allocations: 0.9189 MB / 307.1 MB, free: 11.64 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001633/0.1196, allocations: 106.7 kB / 307.2 MB, free: 11.61 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.1197, allocations: 0 / 307.2 MB, free: 11.61 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.377e-05/0.1197, allocations: 38.08 kB / 307.2 MB, free: 11.6 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.12, allocations: 28.36 kB / 307.3 MB, free: 11.59 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.1218, allocations: 2.491 MB / 309.7 MB, free: 9.555 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.591e-05/0.1219, allocations: 114.9 kB / 309.9 MB, free: 9.477 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.827e-05/0.1219, allocations: 24.12 kB / 309.9 MB, free: 9.465 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.198e-05/0.122, allocations: 50.48 kB / 309.9 MB, free: 9.43 MB / 282.7 MB Notification: Performance of SimCode: time 8.71e-07/0.122, allocations: 0 / 309.9 MB, free: 9.43 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01966/0.1417, allocations: 4.164 MB / 314.1 MB, free: 8.156 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.601/6.743, allocations: 17.12 kB / 314.1 MB, free: 8.141 MB / 282.7 MB " [Timeout remaining time 653] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_SignConvention_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_SignConvention.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.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.229677450843155]