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.002013/0.002013, allocations: 114 kB / 20.43 MB, free: 1.457 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.002384/0.002384, allocations: 215.3 kB / 23.74 MB, free: 4.672 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.478/1.478, allocations: 230.5 MB / 257.4 MB, free: 8.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="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.002707/0.002707, allocations: 59.89 kB / 377.8 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3387, allocations: 53.41 MB / 431.2 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003489/0.3422, allocations: 2.13 MB / 433.3 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004336/0.3426, allocations: 167.4 kB / 433.5 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.3427, allocations: 7.938 kB / 433.5 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001516/0.3429, allocations: 27.72 kB / 433.5 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001047/0.343, allocations: 51.55 kB / 433.6 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002242/0.3432, allocations: 39.95 kB / 433.6 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002758/0.3435, allocations: 175.2 kB / 433.8 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.3437, allocations: 54.39 kB / 433.8 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.3438, allocations: 67.72 kB / 433.9 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.3439, allocations: 75.64 kB / 434 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.779e-05/0.3439, allocations: 12 kB / 434 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.223e-05/0.344, allocations: 16 kB / 434 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.892e-05/0.344, allocations: 35.84 kB / 434 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.3441, allocations: 83.59 kB / 434.1 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002601/0.3444, allocations: 179.6 kB / 434.3 MB, free: 3.617 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.3444, allocations: 0 / 434.3 MB, free: 3.617 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3444, allocations: 0 / 434.3 MB, free: 3.617 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.3444, allocations: 4 kB / 434.3 MB, free: 3.613 MB / 334.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.0006643/0.345, allocations: 385.6 kB / 434.7 MB, free: 3.207 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.3451, allocations: 12.03 kB / 434.7 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.1e-05/0.3451, allocations: 46.73 kB / 434.7 MB, free: 3.141 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.011e-05/0.3452, allocations: 24.8 kB / 434.7 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003013/0.3455, allocations: 154.3 kB / 434.9 MB, free: 2.941 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.3455, allocations: 20.09 kB / 434.9 MB, free: 2.922 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.83e-05/0.3456, allocations: 28.31 kB / 434.9 MB, free: 2.895 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000318/0.3459, allocations: 178.2 kB / 435.1 MB, free: 2.699 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.3459, allocations: 3.984 kB / 435.1 MB, free: 2.695 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/0.3459, allocations: 11.94 kB / 435.1 MB, free: 2.684 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.3459, allocations: 4 kB / 435.1 MB, free: 2.68 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000199/0.3461, allocations: 107.8 kB / 435.2 MB, free: 2.574 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001375/0.3475, allocations: 0.9149 MB / 436.1 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.3477, allocations: 99.83 kB / 436.2 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.331e-05/0.3477, allocations: 38.56 kB / 436.3 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.3477, allocations: 0 / 436.3 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/0.3478, allocations: 50.58 kB / 436.3 MB, free: 1.352 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.383e-06/0.3478, allocations: 0 / 436.3 MB, free: 1.352 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003171/0.3481, allocations: 125.5 kB / 436.5 MB, free: 1.223 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.46e-05/0.3482, allocations: 110.8 kB / 436.6 MB, free: 1.09 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000216/0.3484, allocations: 207.7 kB / 436.8 MB, free: 0.875 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.3484, allocations: 29.7 kB / 436.8 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.3485, allocations: 140 kB / 436.9 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.357e-05/0.3485, allocations: 51.62 kB / 437 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.936e-05/0.3486, allocations: 53.89 kB / 437 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.3488, allocations: 334.8 kB / 437.4 MB, free: 256 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.004e-05/0.3489, allocations: 36.45 kB / 437.4 MB, free: 220 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.349, allocations: 142.6 kB / 437.5 MB, free: 28 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002538/0.3493, allocations: 197.5 kB / 437.7 MB, free: 15.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.3493, allocations: 4 kB / 437.7 MB, free: 15.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003271/0.3496, allocations: 209.9 kB / 437.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3496, allocations: 8 kB / 437.9 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.3496, allocations: 8.406 kB / 438 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.3496, allocations: 8 kB / 438 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.3498, allocations: 51.91 kB / 438 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.3498, allocations: 4 kB / 438 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.3499, allocations: 35.67 kB / 438.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.3499, allocations: 12 kB / 438.1 MB, free: 15.45 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.0001262/0.3501, allocations: 137.7 kB / 438.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.059e-05/0.3501, allocations: 15.91 kB / 438.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.72e-05/0.3502, allocations: 25.02 kB / 438.2 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.3502, allocations: 11.98 kB / 438.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3502, allocations: 0 / 438.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.3502, allocations: 3.938 kB / 438.3 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004595/0.3507, allocations: 204.7 kB / 438.5 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.3507, allocations: 3.938 kB / 438.5 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/0.3508, allocations: 27.98 kB / 438.5 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.696e-06/0.3508, allocations: 4 kB / 438.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.3508, allocations: 4 kB / 438.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.3508, allocations: 4 kB / 438.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3508, allocations: 0 / 438.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003831/0.3512, allocations: 389.8 kB / 438.9 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.171e-05/0.3513, allocations: 19.84 kB / 438.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/0.3513, allocations: 4.062 kB / 438.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.3514, allocations: 0 / 438.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.47e-05/0.3515, allocations: 11.92 kB / 438.9 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-06/0.3515, allocations: 7.984 kB / 438.9 MB, free: 14.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001499/0.3516, allocations: 157.5 kB / 439.1 MB, free: 14.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3516, allocations: 0 / 439.1 MB, free: 14.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003763/0.352, allocations: 39.95 kB / 439.1 MB, free: 14.32 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.0006457/0.3526, allocations: 0.9179 MB / 440 MB, free: 13.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002254/0.3529, allocations: 103.8 kB / 440.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3529, allocations: 0 / 440.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.971e-05/0.3529, allocations: 35.92 kB / 440.2 MB, free: 13.24 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005102/0.3534, allocations: 37.08 kB / 440.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002942/0.3564, allocations: 2.641 MB / 442.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.3568, allocations: 0.7242 MB / 443.6 MB, free: 9.645 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.215e-05/0.3568, allocations: 21.89 kB / 443.6 MB, free: 9.625 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.028e-05/0.3569, allocations: 47.42 kB / 443.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3569, allocations: 0 / 443.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03302/0.3899, allocations: 3.704 MB / 447.3 MB, free: 5.984 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.13, allocations: 14.92 kB / 447.4 MB, free: 5.977 MB / 350.1 MB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_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_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.csv","/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] "Error: Could not read variable mass3.v in file Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention_res.csv. Warning: Get data of variable mass3.v from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.667896965998807]