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.001331/0.001331, allocations: 120.2 kB / 18.49 MB, free: 4.559 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.001977/0.001977, allocations: 214.2 kB / 21.46 MB, free: 1.605 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.426/1.426, allocations: 230.4 MB / 254.7 MB, free: 15.02 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 59.91 kB / 373.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1169, allocations: 53.36 MB / 427 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003527/0.1204, allocations: 2.13 MB / 429.2 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003771/0.1208, allocations: 167.4 kB / 429.3 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.1209, allocations: 7.938 kB / 429.3 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000139/0.121, allocations: 23.72 kB / 429.4 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.867e-05/0.1211, allocations: 47.58 kB / 429.4 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001616/0.1213, allocations: 39.94 kB / 429.5 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002548/0.1215, allocations: 183.2 kB / 429.6 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.1217, allocations: 42.28 kB / 429.7 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.319e-05/0.1218, allocations: 71.72 kB / 429.7 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.1219, allocations: 79.64 kB / 429.8 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.955e-05/0.1219, allocations: 15.94 kB / 429.8 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.726e-05/0.122, allocations: 12 kB / 429.8 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.016e-05/0.122, allocations: 35.91 kB / 429.9 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.057e-05/0.1221, allocations: 83.53 kB / 430 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002341/0.1223, allocations: 175.2 kB / 430.1 MB, free: 1.516 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1223, allocations: 0 / 430.1 MB, free: 1.516 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1223, allocations: 4 kB / 430.1 MB, free: 1.512 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1223, allocations: 0 / 430.1 MB, free: 1.512 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.0006785/0.123, allocations: 470.7 kB / 430.6 MB, free: 1.004 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.123, allocations: 8.031 kB / 430.6 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.882e-05/0.1231, allocations: 11.95 kB / 430.6 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.948e-05/0.1231, allocations: 54.67 kB / 430.7 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.171e-05/0.1232, allocations: 20.8 kB / 430.7 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.1234, allocations: 216.1 kB / 430.9 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.1235, allocations: 16.38 kB / 430.9 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.873e-05/0.1235, allocations: 20.33 kB / 430.9 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003074/0.1238, allocations: 189.8 kB / 431.1 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.1238, allocations: 3.938 kB / 431.1 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.1238, allocations: 8 kB / 431.1 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.1238, allocations: 4 kB / 431.1 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000176/0.124, allocations: 111.9 kB / 431.2 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001304/0.1253, allocations: 0.9509 MB / 432.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.1255, allocations: 99.83 kB / 432.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.158e-05/0.1255, allocations: 38.52 kB / 432.3 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.1256, allocations: 4 kB / 432.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.1256, allocations: 38.64 kB / 432.4 MB, free: 15.03 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.383e-06/0.1256, allocations: 0 / 432.4 MB, free: 15.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003176/0.1259, allocations: 129.5 kB / 432.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.024e-05/0.126, allocations: 110.8 kB / 432.6 MB, free: 14.76 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.1262, allocations: 203.8 kB / 432.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.1262, allocations: 29.64 kB / 432.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.1263, allocations: 148 kB / 433 MB, free: 14.37 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.943e-05/0.1263, allocations: 43.64 kB / 433 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.613e-05/0.1264, allocations: 49.89 kB / 433.1 MB, free: 14.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1266, allocations: 330.8 kB / 433.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.768e-05/0.1266, allocations: 36.45 kB / 433.4 MB, free: 13.9 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.1268, allocations: 146.6 kB / 433.6 MB, free: 13.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002433/0.127, allocations: 206 kB / 433.8 MB, free: 13.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.127, allocations: 0 / 433.8 MB, free: 13.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003354/0.1274, allocations: 209.2 kB / 434 MB, free: 13.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.1274, allocations: 4 kB / 434 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.1274, allocations: 8.406 kB / 434 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.1274, allocations: 15.94 kB / 434 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.1276, allocations: 51.91 kB / 434.1 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.176e-05/0.1276, allocations: 15.88 kB / 434.1 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.1277, allocations: 31.73 kB / 434.1 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.1277, allocations: 8 kB / 434.1 MB, free: 13.11 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.0001083/0.1278, allocations: 133.7 kB / 434.2 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.98e-05/0.1279, allocations: 19.91 kB / 434.3 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.029e-05/0.128, allocations: 20.92 kB / 434.3 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.128, allocations: 0 / 434.3 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/0.128, allocations: 11.94 kB / 434.3 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.128, allocations: 0 / 434.3 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004315/0.1284, allocations: 237.6 kB / 434.5 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1284, allocations: 0 / 434.5 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.1286, allocations: 31.98 kB / 434.6 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1286, allocations: 0 / 434.6 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.1286, allocations: 4 kB / 434.6 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1286, allocations: 0 / 434.6 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.025e-05/0.1286, allocations: 7.875 kB / 434.6 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003425/0.1289, allocations: 385.9 kB / 434.9 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.675e-05/0.129, allocations: 101 kB / 435 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.129, allocations: 0 / 435 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.1292, allocations: 4 kB / 435.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.832e-05/0.1292, allocations: 15.92 kB / 435.1 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.1292, allocations: 0 / 435.1 MB, free: 12.06 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001348/0.1293, allocations: 153.5 kB / 435.2 MB, free: 11.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1293, allocations: 4 kB / 435.2 MB, free: 11.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003576/0.1297, allocations: 39.95 kB / 435.3 MB, free: 11.87 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.0006311/0.1303, allocations: 0.9079 MB / 436.2 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002074/0.1305, allocations: 111.8 kB / 436.3 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1305, allocations: 0 / 436.3 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.701e-05/0.1306, allocations: 32.34 kB / 436.3 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004805/0.1311, allocations: 38.16 kB / 436.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00283/0.1339, allocations: 2.632 MB / 439 MB, free: 7.945 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003576/0.1343, allocations: 0.7242 MB / 439.7 MB, free: 7.195 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.834e-05/0.1343, allocations: 29.86 kB / 439.7 MB, free: 7.168 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.156e-05/0.1344, allocations: 51.42 kB / 439.8 MB, free: 7.117 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1344, allocations: 0 / 439.8 MB, free: 7.117 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02002/0.1544, allocations: 3.517 MB / 443.3 MB, free: 3.715 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.823/7.978, allocations: 10.17 kB / 443.3 MB, free: 3.707 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 10.562146587995812]