Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001709/0.001709, allocations: 115.7 kB / 18.49 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001985/0.001985, allocations: 194.6 kB / 21.43 MB, free: 1.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 225.6 MB / 249.8 MB, free: 3.633 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 51.91 kB / 366.3 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0996/0.1011, allocations: 52.15 MB / 418.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.004374/0.1055, allocations: 2.107 MB / 420.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004644/0.1059, allocations: 167.4 kB / 420.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.1061, allocations: 4 kB / 420.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000167/0.1062, allocations: 31.66 kB / 420.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.1064, allocations: 51.56 kB / 420.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.1065, allocations: 39.95 kB / 420.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003154/0.1069, allocations: 183.2 kB / 421 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001877/0.1071, allocations: 42.28 kB / 421.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.1072, allocations: 59.8 kB / 421.1 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.1073, allocations: 83.61 kB / 421.2 MB, free: 9.867 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.554e-05/0.1074, allocations: 12 kB / 421.2 MB, free: 9.855 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.683e-05/0.1074, allocations: 20 kB / 421.3 MB, free: 9.836 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.595e-05/0.1074, allocations: 27.92 kB / 421.3 MB, free: 9.809 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.1076, allocations: 87.53 kB / 421.4 MB, free: 9.723 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003162/0.1079, allocations: 183.1 kB / 421.5 MB, free: 9.543 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1079, allocations: 0 / 421.5 MB, free: 9.543 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1079, allocations: 0 / 421.5 MB, free: 9.543 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.1079, allocations: 0 / 421.5 MB, free: 9.543 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.0008385/0.1087, allocations: 470.7 kB / 422 MB, free: 9.035 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.1088, allocations: 12.03 kB / 422 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.201e-05/0.1088, allocations: 4.188 kB / 422 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.028e-05/0.1089, allocations: 46.73 kB / 422.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.775e-05/0.1089, allocations: 20.84 kB / 422.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003601/0.1093, allocations: 224 kB / 422.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.1093, allocations: 8.375 kB / 422.3 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.322e-05/0.1093, allocations: 20.38 kB / 422.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004283/0.1098, allocations: 197.8 kB / 422.5 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/0.1098, allocations: 4 kB / 422.5 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.619e-05/0.1098, allocations: 8 kB / 422.5 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.1098, allocations: 4 kB / 422.5 MB, free: 8.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002758/0.1101, allocations: 103.9 kB / 422.6 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001738/0.1118, allocations: 0.9508 MB / 423.6 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002229/0.1121, allocations: 103.7 kB / 423.7 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.549e-05/0.1122, allocations: 42.75 kB / 423.7 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.1122, allocations: 0 / 423.7 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.385e-05/0.1122, allocations: 42.5 kB / 423.8 MB, free: 7.062 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 4.288e-06/0.1122, allocations: 3.984 kB / 423.8 MB, free: 7.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004649/0.1127, allocations: 125.5 kB / 423.9 MB, free: 6.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/0.1128, allocations: 102.8 kB / 424 MB, free: 6.805 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003027/0.1131, allocations: 215.7 kB / 424.2 MB, free: 6.582 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.1131, allocations: 25.7 kB / 424.2 MB, free: 6.551 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.1133, allocations: 148.1 kB / 424.4 MB, free: 6.402 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.113e-05/0.1133, allocations: 51.59 kB / 424.4 MB, free: 6.352 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.888e-05/0.1134, allocations: 41.94 kB / 424.5 MB, free: 6.301 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002009/0.1136, allocations: 330.8 kB / 424.8 MB, free: 5.969 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.1138, allocations: 40.45 kB / 424.8 MB, free: 5.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002175/0.114, allocations: 145.5 kB / 425 MB, free: 5.742 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003568/0.1143, allocations: 201.5 kB / 425.2 MB, free: 5.496 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.1143, allocations: 0 / 425.2 MB, free: 5.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005114/0.1148, allocations: 221.1 kB / 425.4 MB, free: 5.273 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.1149, allocations: 8 kB / 425.4 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.1149, allocations: 4 kB / 425.4 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.1149, allocations: 4 kB / 425.4 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002714/0.1152, allocations: 52.33 kB / 425.5 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.677e-05/0.1152, allocations: 7.938 kB / 425.5 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.1154, allocations: 31.78 kB / 425.5 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.1154, allocations: 12.7 kB / 425.5 MB, free: 5.156 MB / 350.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.0001677/0.1156, allocations: 138.4 kB / 425.6 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.1157, allocations: 15.91 kB / 425.7 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.762e-05/0.1158, allocations: 16.94 kB / 425.7 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.1158, allocations: 4 kB / 425.7 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.587e-06/0.1158, allocations: 3.938 kB / 425.7 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.024e-06/0.1158, allocations: 7.922 kB / 425.7 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007104/0.1165, allocations: 241.5 kB / 425.9 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.1165, allocations: 3.984 kB / 425.9 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002437/0.1168, allocations: 31.98 kB / 426 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.1168, allocations: 4 kB / 426 MB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.1168, allocations: 3.984 kB / 426 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.1168, allocations: 0 / 426 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/0.1168, allocations: 7.938 kB / 426 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004877/0.1173, allocations: 385.8 kB / 426.4 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.933e-05/0.1174, allocations: 101 kB / 426.5 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.957e-05/0.1174, allocations: 4.125 kB / 426.5 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002658/0.1177, allocations: 11.94 kB / 426.5 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.228e-05/0.1177, allocations: 11.92 kB / 426.5 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.1177, allocations: 4 kB / 426.5 MB, free: 4.078 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002058/0.1179, allocations: 149.5 kB / 426.6 MB, free: 3.934 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1179, allocations: 0 / 426.6 MB, free: 3.934 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006651/0.1186, allocations: 44 kB / 426.7 MB, free: 3.891 MB / 350.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.0009061/0.1195, allocations: 0.91 MB / 427.6 MB, free: 2.949 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003199/0.1198, allocations: 108.2 kB / 427.7 MB, free: 2.844 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1198, allocations: 0 / 427.7 MB, free: 2.844 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.29e-05/0.1199, allocations: 31.92 kB / 427.7 MB, free: 2.812 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008027/0.1207, allocations: 39.64 kB / 427.8 MB, free: 2.773 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004414/0.1252, allocations: 2.636 MB / 430.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000478/0.1256, allocations: 0.7242 MB / 431.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001031/0.1257, allocations: 21.95 kB / 431.1 MB, free: 15.19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.1258, allocations: 47.42 kB / 431.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1258, allocations: 0 / 431.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02673/0.1526, allocations: 3.532 MB / 434.7 MB, free: 11.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.815/7.968, allocations: 6.984 kB / 434.7 MB, free: 11.73 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.423251775035169]