Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001665/0.001665, allocations: 122.2 kB / 18.5 MB, free: 4.621 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001789/0.001789, allocations: 219.3 kB / 21.46 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 230.2 MB / 254.5 MB, free: 15.4 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 63.89 kB / 373.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1118, allocations: 53.32 MB / 426.7 MB, free: 5.02 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003356/0.1152, allocations: 2.124 MB / 428.8 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003781/0.1155, allocations: 171.4 kB / 428.9 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.376e-05/0.1156, allocations: 4 kB / 428.9 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.1158, allocations: 23.67 kB / 429 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.815e-05/0.1159, allocations: 51.56 kB / 429 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001632/0.116, allocations: 35.95 kB / 429.1 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002507/0.1163, allocations: 187.2 kB / 429.2 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.1164, allocations: 38.3 kB / 429.3 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.873e-05/0.1165, allocations: 67.78 kB / 429.3 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.1166, allocations: 79.62 kB / 429.4 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.126e-05/0.1167, allocations: 16 kB / 429.4 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.447e-05/0.1167, allocations: 12 kB / 429.4 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.478e-05/0.1167, allocations: 27.92 kB / 429.5 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.406e-05/0.1168, allocations: 87.53 kB / 429.6 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.117, allocations: 183.1 kB / 429.7 MB, free: 1.914 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.1171, allocations: 0 / 429.7 MB, free: 1.914 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1171, allocations: 0 / 429.7 MB, free: 1.914 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.094e-06/0.1171, allocations: 0 / 429.7 MB, free: 1.914 MB / 350.1 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.0006833/0.1177, allocations: 470.7 kB / 430.2 MB, free: 1.406 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.1178, allocations: 8.031 kB / 430.2 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.654e-05/0.1178, allocations: 50.73 kB / 430.3 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.583e-05/0.1179, allocations: 24.8 kB / 430.3 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.1182, allocations: 216.1 kB / 430.5 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.1182, allocations: 16.16 kB / 430.5 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.617e-05/0.1182, allocations: 20.33 kB / 430.5 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003021/0.1185, allocations: 193.9 kB / 430.7 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.1185, allocations: 0 / 430.7 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.1186, allocations: 8 kB / 430.7 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.1186, allocations: 4 kB / 430.7 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001715/0.1187, allocations: 103.9 kB / 430.8 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001377/0.1201, allocations: 0.9587 MB / 431.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/0.1203, allocations: 103.7 kB / 431.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.903e-05/0.1203, allocations: 42.69 kB / 431.9 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/0.1203, allocations: 0 / 431.9 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.1204, allocations: 42.5 kB / 432 MB, free: 15.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 9.92e-07/0.1204, allocations: 0 / 432 MB, free: 15.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002965/0.1207, allocations: 129.5 kB / 432.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.399e-05/0.1207, allocations: 110.8 kB / 432.2 MB, free: 15.17 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.121, allocations: 199.8 kB / 432.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.121, allocations: 29.7 kB / 432.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.1211, allocations: 148 kB / 432.6 MB, free: 14.78 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.216e-05/0.1211, allocations: 51.62 kB / 432.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.375e-05/0.1212, allocations: 49.89 kB / 432.7 MB, free: 14.67 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.1214, allocations: 330.8 kB / 433 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.056e-05/0.1214, allocations: 40.44 kB / 433 MB, free: 14.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.1216, allocations: 148.1 kB / 433.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002564/0.1218, allocations: 193.5 kB / 433.4 MB, free: 13.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.1218, allocations: 4 kB / 433.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003275/0.1222, allocations: 217.8 kB / 433.6 MB, free: 13.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.1222, allocations: 8 kB / 433.6 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.1222, allocations: 4 kB / 433.6 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.1222, allocations: 4 kB / 433.6 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.1224, allocations: 48.33 kB / 433.7 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/0.1224, allocations: 11.98 kB / 433.7 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.1225, allocations: 35.67 kB / 433.7 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.1225, allocations: 12 kB / 433.7 MB, free: 13.52 MB / 366.1 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 0.000123/0.1226, allocations: 133.7 kB / 433.8 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.146e-05/0.1227, allocations: 19.98 kB / 433.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.754e-05/0.1228, allocations: 24.92 kB / 433.9 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.718e-06/0.1228, allocations: 4 kB / 433.9 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.1228, allocations: 0 / 433.9 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.1228, allocations: 3.938 kB / 433.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004192/0.1232, allocations: 245.5 kB / 434.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1232, allocations: 0 / 434.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001416/0.1233, allocations: 27.98 kB / 434.2 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.1233, allocations: 4 kB / 434.2 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.1234, allocations: 0 / 434.2 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1234, allocations: 0 / 434.2 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1234, allocations: 4 kB / 434.2 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003789/0.1237, allocations: 397.8 kB / 434.6 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.494e-05/0.1238, allocations: 92.95 kB / 434.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.1238, allocations: 4 kB / 434.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.124, allocations: 4.062 kB / 434.7 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.395e-05/0.124, allocations: 11.92 kB / 434.7 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.513e-06/0.124, allocations: 7.938 kB / 434.7 MB, free: 12.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001384/0.1241, allocations: 149.5 kB / 434.8 MB, free: 12.31 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1241, allocations: 0 / 434.8 MB, free: 12.31 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003606/0.1245, allocations: 47.95 kB / 434.9 MB, free: 12.27 MB / 366.1 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.0007066/0.1252, allocations: 0.9101 MB / 435.8 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002313/0.1254, allocations: 108 kB / 435.9 MB, free: 11.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1255, allocations: 0 / 435.9 MB, free: 11.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.898e-05/0.1255, allocations: 35.92 kB / 435.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005254/0.126, allocations: 36.31 kB / 436 MB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002962/0.129, allocations: 2.625 MB / 438.6 MB, free: 8.348 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004047/0.1294, allocations: 0.7242 MB / 439.3 MB, free: 7.598 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.381e-05/0.1295, allocations: 21.94 kB / 439.3 MB, free: 7.578 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.577e-05/0.1296, allocations: 51.42 kB / 439.4 MB, free: 7.527 MB / 366.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1296, allocations: 0 / 439.4 MB, free: 7.527 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04116/0.1707, allocations: 3.485 MB / 442.9 MB, free: 4.141 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.152/8.323, allocations: 3.125 kB / 442.9 MB, free: 4.141 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_SignConvention_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_SignConvention.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 11.057275070808828]