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.001277/0.001277, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001417/0.001417, allocations: 216.9 kB / 24.53 MB, free: 4.012 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.375/1.375, allocations: 230.5 MB / 258.2 MB, free: 8.016 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.002585/0.002585, allocations: 55.91 kB / 378.5 MB, free: 3.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2615, allocations: 53.42 MB / 432 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003486/0.265, allocations: 2.13 MB / 434.1 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003467/0.2653, allocations: 167.4 kB / 434.3 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.482e-05/0.2654, allocations: 3.938 kB / 434.3 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.2655, allocations: 27.72 kB / 434.3 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.89e-05/0.2656, allocations: 51.56 kB / 434.3 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001631/0.2658, allocations: 35.95 kB / 434.4 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002337/0.266, allocations: 187.2 kB / 434.6 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.2662, allocations: 38.42 kB / 434.6 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.174e-05/0.2663, allocations: 75.72 kB / 434.7 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.2664, allocations: 79.62 kB / 434.7 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.806e-05/0.2664, allocations: 12 kB / 434.8 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.473e-05/0.2664, allocations: 12 kB / 434.8 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.683e-05/0.2665, allocations: 35.86 kB / 434.8 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.907e-05/0.2665, allocations: 79.59 kB / 434.9 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.2668, allocations: 179.6 kB / 435.1 MB, free: 3.578 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2668, allocations: 0 / 435.1 MB, free: 3.578 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2668, allocations: 0 / 435.1 MB, free: 3.578 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.2668, allocations: 4 kB / 435.1 MB, free: 3.574 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.0006536/0.2674, allocations: 393.5 kB / 435.4 MB, free: 3.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.2675, allocations: 8.031 kB / 435.5 MB, free: 3.152 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.935e-05/0.2675, allocations: 11.97 kB / 435.5 MB, free: 3.141 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.304e-05/0.2676, allocations: 50.73 kB / 435.5 MB, free: 3.082 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.037e-05/0.2676, allocations: 20.8 kB / 435.5 MB, free: 3.062 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00032/0.2679, allocations: 158.3 kB / 435.7 MB, free: 2.883 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.268, allocations: 12.38 kB / 435.7 MB, free: 2.871 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.993e-05/0.268, allocations: 28.31 kB / 435.7 MB, free: 2.844 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003327/0.2683, allocations: 182 kB / 435.9 MB, free: 2.645 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.2684, allocations: 4 kB / 435.9 MB, free: 2.641 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.2684, allocations: 4 kB / 435.9 MB, free: 2.637 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.2684, allocations: 7.938 kB / 435.9 MB, free: 2.629 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001924/0.2686, allocations: 107.9 kB / 436 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001354/0.2699, allocations: 0.9187 MB / 436.9 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.2701, allocations: 91.89 kB / 437 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.584e-05/0.2701, allocations: 46.52 kB / 437.1 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.2702, allocations: 0 / 437.1 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.036e-05/0.2702, allocations: 38.64 kB / 437.1 MB, free: 1.309 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.193e-06/0.2702, allocations: 4 kB / 437.1 MB, free: 1.305 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003283/0.2705, allocations: 125.5 kB / 437.2 MB, free: 1.176 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.94e-05/0.2706, allocations: 114.7 kB / 437.4 MB, free: 1.039 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/0.2708, allocations: 203.7 kB / 437.6 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.2709, allocations: 33.7 kB / 437.6 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.271, allocations: 144 kB / 437.7 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.402e-05/0.271, allocations: 47.62 kB / 437.8 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.521e-05/0.2711, allocations: 49.91 kB / 437.8 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.2712, allocations: 330.8 kB / 438.1 MB, free: 212 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.037e-05/0.2713, allocations: 40.45 kB / 438.2 MB, free: 172 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.2715, allocations: 142.6 kB / 438.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002496/0.2717, allocations: 198 kB / 438.5 MB, free: 15.74 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2717, allocations: 0 / 438.5 MB, free: 15.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000333/0.2721, allocations: 217.2 kB / 438.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.2721, allocations: 8.406 kB / 438.7 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.2721, allocations: 4 kB / 438.7 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.2721, allocations: 8 kB / 438.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.2723, allocations: 55.91 kB / 438.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/0.2723, allocations: 15.86 kB / 438.8 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.2724, allocations: 31.73 kB / 438.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.2724, allocations: 12 kB / 438.9 MB, free: 15.39 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.000107/0.2725, allocations: 137.7 kB / 439 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.451e-05/0.2726, allocations: 15.91 kB / 439 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.454e-05/0.2727, allocations: 21.02 kB / 439 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.2727, allocations: 8 kB / 439 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.2727, allocations: 3.938 kB / 439 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2727, allocations: 0 / 439 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004111/0.2731, allocations: 208.6 kB / 439.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2731, allocations: 0 / 439.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.2732, allocations: 31.92 kB / 439.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.2732, allocations: 4 kB / 439.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.2732, allocations: 4 kB / 439.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.2732, allocations: 3.938 kB / 439.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/0.2733, allocations: 7.938 kB / 439.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003297/0.2736, allocations: 381.9 kB / 439.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.983e-05/0.2736, allocations: 15.84 kB / 439.7 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.818e-05/0.2736, allocations: 8.062 kB / 439.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.2738, allocations: 0 / 439.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.665e-05/0.2738, allocations: 11.92 kB / 439.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.2738, allocations: 15.92 kB / 439.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001302/0.2739, allocations: 153.5 kB / 439.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2739, allocations: 0 / 439.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003705/0.2743, allocations: 39.95 kB / 439.9 MB, free: 14.27 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.0006515/0.275, allocations: 0.9139 MB / 440.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002135/0.2752, allocations: 99.84 kB / 440.9 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2752, allocations: 0 / 440.9 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.53e-05/0.2752, allocations: 40.53 kB / 441 MB, free: 13.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005233/0.2758, allocations: 27.61 kB / 441 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002838/0.2786, allocations: 2.644 MB / 443.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.279, allocations: 0.7242 MB / 444.4 MB, free: 9.594 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.574e-05/0.279, allocations: 21.94 kB / 444.4 MB, free: 9.574 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.701e-05/0.2791, allocations: 55.36 kB / 444.4 MB, free: 9.52 MB / 350.1 MB Notification: Performance of SimCode: time 6.81e-07/0.2791, allocations: 0 / 444.4 MB, free: 9.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02534/0.3045, allocations: 3.74 MB / 448.2 MB, free: 5.906 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/10.96, allocations: 2.875 kB / 448.2 MB, free: 5.906 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 & /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: 13.263144795957487]