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.001703/0.001703, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.002306/0.002306, allocations: 210.9 kB / 24.47 MB, free: 3.547 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.444/1.444, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] 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: 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.001808/0.001808, allocations: 51.92 kB / 347.2 MB, free: 9.914 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2523, allocations: 49.16 MB / 396.3 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002962/0.2553, allocations: 2.001 MB / 398.3 MB, free: 7.551 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003549/0.2557, allocations: 157 kB / 398.5 MB, free: 7.438 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.909e-05/0.2558, allocations: 4.688 kB / 398.5 MB, free: 7.438 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001232/0.2559, allocations: 29.66 kB / 398.5 MB, free: 7.418 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.256, allocations: 51.31 kB / 398.6 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001516/0.2561, allocations: 43.44 kB / 398.6 MB, free: 7.355 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002051/0.2564, allocations: 176.5 kB / 398.8 MB, free: 7.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.2565, allocations: 44.27 kB / 398.8 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.014e-05/0.2566, allocations: 72.94 kB / 398.9 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.2567, allocations: 59.62 kB / 399 MB, free: 7.188 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.889e-05/0.2567, allocations: 13.25 kB / 399 MB, free: 7.188 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.674e-05/0.2568, allocations: 13.62 kB / 399 MB, free: 7.188 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.473e-05/0.2568, allocations: 37.95 kB / 399 MB, free: 7.16 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.678e-05/0.2569, allocations: 69.59 kB / 399.1 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.2571, allocations: 179.4 kB / 399.3 MB, free: 7.055 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.2571, allocations: 5.125 kB / 399.3 MB, free: 7.051 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.2571, allocations: 0.75 kB / 399.3 MB, free: 7.051 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.2571, allocations: 0 / 399.3 MB, free: 7.051 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0004929/0.2576, allocations: 399.7 kB / 399.7 MB, free: 6.707 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.2576, allocations: 14.45 kB / 399.7 MB, free: 6.703 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.733e-05/0.2577, allocations: 48.05 kB / 399.7 MB, free: 6.656 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.892e-05/0.2577, allocations: 18.12 kB / 399.7 MB, free: 6.648 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.258, allocations: 164.3 kB / 399.9 MB, free: 6.488 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.258, allocations: 10.91 kB / 399.9 MB, free: 6.484 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.64e-05/0.258, allocations: 20.22 kB / 399.9 MB, free: 6.477 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002668/0.2583, allocations: 194.1 kB / 400.1 MB, free: 6.348 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.2583, allocations: 1.344 kB / 400.1 MB, free: 6.348 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.2583, allocations: 6.844 kB / 400.1 MB, free: 6.344 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.2583, allocations: 4.062 kB / 400.1 MB, free: 6.344 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.2585, allocations: 98.17 kB / 400.2 MB, free: 6.312 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.2595, allocations: 0.8931 MB / 401.1 MB, free: 5.52 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.2596, allocations: 95.86 kB / 401.2 MB, free: 5.434 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.789e-05/0.2597, allocations: 43.38 kB / 401.3 MB, free: 5.398 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-06/0.2597, allocations: 2.234 kB / 401.3 MB, free: 5.398 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.527e-05/0.2597, allocations: 38.05 kB / 401.3 MB, free: 5.355 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.272e-06/0.2597, allocations: 0 / 401.3 MB, free: 5.355 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002804/0.26, allocations: 126.6 kB / 401.4 MB, free: 5.289 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.26, allocations: 106.5 kB / 401.5 MB, free: 5.164 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.2602, allocations: 212.7 kB / 401.7 MB, free: 5.02 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.2602, allocations: 30.31 kB / 401.8 MB, free: 4.984 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.099e-05/0.2603, allocations: 151.8 kB / 401.9 MB, free: 4.848 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.2603, allocations: 54.92 kB / 402 MB, free: 4.805 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.693e-05/0.2604, allocations: 49.3 kB / 402 MB, free: 4.77 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.917e-05/0.2604, allocations: 328.9 kB / 402.3 MB, free: 4.449 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.795e-05/0.2605, allocations: 38.73 kB / 402.4 MB, free: 4.438 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.2606, allocations: 149.7 kB / 402.5 MB, free: 4.285 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000175/0.2608, allocations: 190.6 kB / 402.7 MB, free: 4.109 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.2608, allocations: 1.125 kB / 402.7 MB, free: 4.109 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002901/0.2611, allocations: 217.7 kB / 402.9 MB, free: 4.004 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.2611, allocations: 6.812 kB / 402.9 MB, free: 4.004 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.2611, allocations: 4.219 kB / 402.9 MB, free: 4.004 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.2611, allocations: 6.375 kB / 402.9 MB, free: 4.004 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.2613, allocations: 51.11 kB / 403 MB, free: 3.996 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.2613, allocations: 5.969 kB / 403 MB, free: 3.996 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.2614, allocations: 36.56 kB / 403 MB, free: 3.969 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.2614, allocations: 18.09 kB / 403 MB, free: 3.961 MB / 318.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 7.577e-05/0.2615, allocations: 131.5 kB / 403.2 MB, free: 3.832 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.042e-05/0.2616, allocations: 21.45 kB / 403.2 MB, free: 3.82 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.719e-05/0.2616, allocations: 24.05 kB / 403.2 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.2616, allocations: 6.453 kB / 403.2 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.2616, allocations: 1.375 kB / 403.2 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.884e-06/0.2616, allocations: 5.297 kB / 403.2 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003787/0.262, allocations: 188.7 kB / 403.4 MB, free: 3.613 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.262, allocations: 1.844 kB / 403.4 MB, free: 3.613 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.2622, allocations: 31.44 kB / 403.4 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.2622, allocations: 5.188 kB / 403.5 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.2622, allocations: 6.625 kB / 403.5 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.2622, allocations: 2.969 kB / 403.5 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2622, allocations: 3.984 kB / 403.5 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003332/0.2625, allocations: 392.5 kB / 403.8 MB, free: 3.27 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.741e-05/0.2626, allocations: 13.94 kB / 403.9 MB, free: 3.262 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.157e-05/0.2626, allocations: 10.84 kB / 403.9 MB, free: 3.254 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.2628, allocations: 1.641 kB / 403.9 MB, free: 3.254 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.897e-05/0.2628, allocations: 11.05 kB / 403.9 MB, free: 3.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.2628, allocations: 8.188 kB / 403.9 MB, free: 3.246 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001299/0.2629, allocations: 149.3 kB / 404 MB, free: 3.148 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2629, allocations: 4 kB / 404 MB, free: 3.145 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003883/0.2633, allocations: 39.97 kB / 404.1 MB, free: 3.137 MB / 318.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.0004762/0.2638, allocations: 0.9129 MB / 405 MB, free: 2.281 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002419/0.264, allocations: 101.1 kB / 405.1 MB, free: 2.25 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.264, allocations: 4.75 kB / 405.1 MB, free: 2.246 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.946e-05/0.2641, allocations: 37.48 kB / 405.1 MB, free: 2.234 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005575/0.2647, allocations: 38.25 kB / 405.2 MB, free: 2.211 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002531/0.2672, allocations: 2.625 MB / 407.8 MB, free: 32 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001465/0.2673, allocations: 111.6 kB / 407.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.834e-05/0.2674, allocations: 20.8 kB / 407.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.066e-05/0.2675, allocations: 52 kB / 408 MB, free: 15.92 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2675, allocations: 0 / 408 MB, free: 15.92 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03514/0.3026, allocations: 4.036 MB / 412 MB, free: 14.46 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.43, allocations: 1.656 kB / 412 MB, free: 14.46 MB / 334.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins1/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] "Error: Could not read variable mass3.v in file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention_res.csv. Warning: Get data of variable mass3.v from file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.8963140132837]