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.001334/0.001334, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001462/0.001462, allocations: 210.9 kB / 24.51 MB, free: 3.941 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.413/1.413, allocations: 230.5 MB / 258.2 MB, free: 7.789 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.001824/0.001824, allocations: 59.91 kB / 378.5 MB, free: 2.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2556, allocations: 53.4 MB / 431.9 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.00336/0.259, allocations: 2.026 MB / 433.9 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003863/0.2594, allocations: 163.4 kB / 434.1 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.364e-05/0.2595, allocations: 7.938 kB / 434.1 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001287/0.2596, allocations: 27.72 kB / 434.1 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.607e-05/0.2597, allocations: 51.56 kB / 434.2 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001489/0.2599, allocations: 35.95 kB / 434.2 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002419/0.2601, allocations: 179.2 kB / 434.4 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.2603, allocations: 48.5 kB / 434.4 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.931e-05/0.2603, allocations: 67.8 kB / 434.5 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.2604, allocations: 83.55 kB / 434.6 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.726e-05/0.2605, allocations: 16 kB / 434.6 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.053e-05/0.2605, allocations: 12 kB / 434.6 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.489e-05/0.2605, allocations: 27.92 kB / 434.6 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.544e-05/0.2606, allocations: 67.67 kB / 434.7 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00025/0.2609, allocations: 187.2 kB / 434.9 MB, free: 3.469 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2609, allocations: 0 / 434.9 MB, free: 3.469 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2609, allocations: 0 / 434.9 MB, free: 3.469 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.2609, allocations: 0 / 434.9 MB, free: 3.469 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.0006356/0.2615, allocations: 389.6 kB / 435.3 MB, free: 3.059 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.2616, allocations: 12.03 kB / 435.3 MB, free: 3.047 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.871e-05/0.2616, allocations: 7.969 kB / 435.3 MB, free: 3.039 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.478e-05/0.2616, allocations: 46.73 kB / 435.3 MB, free: 2.984 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.95e-05/0.2617, allocations: 24.8 kB / 435.3 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/0.2619, allocations: 162.2 kB / 435.5 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.2619, allocations: 8.375 kB / 435.5 MB, free: 2.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.731e-05/0.262, allocations: 28.33 kB / 435.5 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003005/0.2623, allocations: 178 kB / 435.7 MB, free: 2.547 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.2623, allocations: 8 kB / 435.7 MB, free: 2.539 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.2623, allocations: 4 kB / 435.7 MB, free: 2.535 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.2623, allocations: 4 kB / 435.7 MB, free: 2.531 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001812/0.2625, allocations: 103.8 kB / 435.8 MB, free: 2.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001354/0.2639, allocations: 0.8915 MB / 436.7 MB, free: 1.461 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.264, allocations: 99.77 kB / 436.8 MB, free: 1.336 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.098e-05/0.2641, allocations: 46.56 kB / 436.9 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.907e-06/0.2641, allocations: 0 / 436.9 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.2641, allocations: 46.58 kB / 436.9 MB, free: 1.227 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 9.71e-07/0.2641, allocations: 0 / 436.9 MB, free: 1.227 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003108/0.2644, allocations: 125.5 kB / 437 MB, free: 1.098 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.073e-05/0.2645, allocations: 106.8 kB / 437.1 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.2647, allocations: 207.7 kB / 437.3 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.2647, allocations: 29.7 kB / 437.4 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.973e-05/0.2648, allocations: 144 kB / 437.5 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.094e-05/0.2649, allocations: 51.62 kB / 437.6 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.731e-05/0.2649, allocations: 49.84 kB / 437.6 MB, free: 476 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.2651, allocations: 334.8 kB / 437.9 MB, free: 132 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.567e-05/0.2652, allocations: 36.45 kB / 438 MB, free: 96 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/0.2653, allocations: 142.6 kB / 438.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002266/0.2656, allocations: 197.5 kB / 438.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.2656, allocations: 4 kB / 438.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000305/0.2659, allocations: 214.2 kB / 438.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.2659, allocations: 8 kB / 438.5 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.2659, allocations: 4 kB / 438.5 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.2659, allocations: 4 kB / 438.5 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.2661, allocations: 55.91 kB / 438.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.2661, allocations: 7.938 kB / 438.6 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.2662, allocations: 31.73 kB / 438.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.2662, allocations: 15.94 kB / 438.6 MB, free: 15.32 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.0001069/0.2663, allocations: 133.7 kB / 438.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.724e-05/0.2664, allocations: 16 kB / 438.8 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.666e-05/0.2664, allocations: 29.02 kB / 438.8 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.2664, allocations: 7.984 kB / 438.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.2664, allocations: 3.938 kB / 438.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.2664, allocations: 4 kB / 438.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003884/0.2668, allocations: 192.7 kB / 439 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.2668, allocations: 4 kB / 439 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/0.267, allocations: 31.92 kB / 439.1 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.267, allocations: 0 / 439.1 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.267, allocations: 4 kB / 439.1 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.267, allocations: 7.938 kB / 439.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.267, allocations: 7.938 kB / 439.1 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003153/0.2673, allocations: 385.9 kB / 439.4 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.98e-05/0.2673, allocations: 15.84 kB / 439.5 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/0.2674, allocations: 8.062 kB / 439.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.2675, allocations: 0 / 439.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.729e-05/0.2675, allocations: 11.92 kB / 439.5 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.2675, allocations: 8 kB / 439.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001373/0.2677, allocations: 149.5 kB / 439.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2677, allocations: 0 / 439.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003589/0.268, allocations: 39.95 kB / 439.7 MB, free: 14.21 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.0006277/0.2687, allocations: 0.914 MB / 440.6 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001971/0.2689, allocations: 103.8 kB / 440.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.2689, allocations: 0 / 440.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.752e-05/0.2689, allocations: 35.92 kB / 440.7 MB, free: 13.13 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004919/0.2694, allocations: 28.73 kB / 440.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002841/0.2723, allocations: 2.634 MB / 443.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.2724, allocations: 112.1 kB / 443.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.378e-05/0.2725, allocations: 25.94 kB / 443.5 MB, free: 10.13 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.984e-05/0.2725, allocations: 51.42 kB / 443.6 MB, free: 10.08 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2725, allocations: 0 / 443.6 MB, free: 10.08 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02527/0.2978, allocations: 3.759 MB / 447.3 MB, free: 6.469 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.1, allocations: 11.98 kB / 447.3 MB, free: 6.457 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.437060432042927]