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.001354/0.001354, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001522/0.001522, allocations: 214.7 kB / 23.73 MB, free: 4.16 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.408/1.408, allocations: 230.5 MB / 257.4 MB, free: 7.801 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.00201/0.00201, allocations: 59.91 kB / 377.7 MB, free: 2.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2496, allocations: 53.41 MB / 431.1 MB, free: 6.477 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003291/0.2529, allocations: 2.022 MB / 433.1 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003988/0.2533, allocations: 167.4 kB / 433.3 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.219e-05/0.2534, allocations: 4 kB / 433.3 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001414/0.2536, allocations: 35.61 kB / 433.3 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.758e-05/0.2537, allocations: 43.56 kB / 433.4 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001712/0.2538, allocations: 43.95 kB / 433.4 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002386/0.2541, allocations: 175.2 kB / 433.6 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.2542, allocations: 42.41 kB / 433.6 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.733e-05/0.2543, allocations: 71.72 kB / 433.7 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.2544, allocations: 67.62 kB / 433.8 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.482e-05/0.2545, allocations: 12 kB / 433.8 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.458e-05/0.2545, allocations: 16 kB / 433.8 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.571e-05/0.2545, allocations: 31.86 kB / 433.8 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.065e-05/0.2546, allocations: 71.66 kB / 433.9 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002564/0.2549, allocations: 184.8 kB / 434.1 MB, free: 3.496 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2549, allocations: 4 kB / 434.1 MB, free: 3.492 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2549, allocations: 0 / 434.1 MB, free: 3.492 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.2549, allocations: 0 / 434.1 MB, free: 3.492 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.000648/0.2555, allocations: 389.6 kB / 434.5 MB, free: 3.082 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.2556, allocations: 11.98 kB / 434.5 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.636e-05/0.2556, allocations: 50.73 kB / 434.5 MB, free: 3.012 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.39e-05/0.2557, allocations: 24.8 kB / 434.6 MB, free: 2.988 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002804/0.2559, allocations: 158.3 kB / 434.7 MB, free: 2.809 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.256, allocations: 16.16 kB / 434.7 MB, free: 2.793 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.181e-05/0.256, allocations: 24.33 kB / 434.8 MB, free: 2.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003011/0.2563, allocations: 186.2 kB / 434.9 MB, free: 2.566 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.2563, allocations: 0 / 434.9 MB, free: 2.566 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.2563, allocations: 4 kB / 434.9 MB, free: 2.562 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.2563, allocations: 8 kB / 435 MB, free: 2.555 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001823/0.2565, allocations: 99.88 kB / 435 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.2578, allocations: 0.8915 MB / 435.9 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.258, allocations: 95.83 kB / 436 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.528e-05/0.258, allocations: 46.64 kB / 436.1 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.258, allocations: 4 kB / 436.1 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.2581, allocations: 38.5 kB / 436.1 MB, free: 1.262 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.432e-06/0.2581, allocations: 0 / 436.1 MB, free: 1.262 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.000312/0.2584, allocations: 125.5 kB / 436.2 MB, free: 1.133 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.946e-05/0.2585, allocations: 110.8 kB / 436.4 MB, free: 1 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.2587, allocations: 211.6 kB / 436.6 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.2587, allocations: 33.7 kB / 436.6 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.2588, allocations: 144.1 kB / 436.7 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.451e-05/0.2588, allocations: 51.53 kB / 436.8 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.827e-05/0.2589, allocations: 45.94 kB / 436.8 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.2591, allocations: 326.8 kB / 437.1 MB, free: 168 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.873e-05/0.2591, allocations: 36.45 kB / 437.2 MB, free: 132 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001792/0.2593, allocations: 154.5 kB / 437.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002441/0.2596, allocations: 189.5 kB / 437.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.036e-06/0.2596, allocations: 7.984 kB / 437.5 MB, free: 15.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003322/0.2599, allocations: 221.8 kB / 437.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.2599, allocations: 8 kB / 437.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.2599, allocations: 7.938 kB / 437.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.2599, allocations: 8 kB / 437.8 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.2601, allocations: 47.92 kB / 437.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.642e-05/0.2601, allocations: 4 kB / 437.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.2603, allocations: 32.12 kB / 437.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.2603, allocations: 20 kB / 437.9 MB, free: 15.34 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.0001135/0.2604, allocations: 134.6 kB / 438 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.041e-05/0.2605, allocations: 15.91 kB / 438 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.786e-05/0.2605, allocations: 25.06 kB / 438 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2605, allocations: 0 / 438 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.2605, allocations: 0 / 438 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.2605, allocations: 11.92 kB / 438 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004283/0.261, allocations: 196.6 kB / 438.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.261, allocations: 7.938 kB / 438.2 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001459/0.2611, allocations: 27.98 kB / 438.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2611, allocations: 4 kB / 438.3 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.2611, allocations: 4 kB / 438.3 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.2611, allocations: 4 kB / 438.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.2611, allocations: 0 / 438.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003651/0.2615, allocations: 393.8 kB / 438.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.901e-05/0.2615, allocations: 11.91 kB / 438.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.2616, allocations: 8.062 kB / 438.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.2617, allocations: 3.984 kB / 438.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.701e-05/0.2617, allocations: 15.92 kB / 438.7 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.2617, allocations: 4 kB / 438.7 MB, free: 14.42 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001363/0.2619, allocations: 149.5 kB / 438.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2619, allocations: 4 kB / 438.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003717/0.2622, allocations: 36 kB / 438.9 MB, free: 14.23 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.0006669/0.2629, allocations: 0.914 MB / 439.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000218/0.2631, allocations: 103.8 kB / 439.9 MB, free: 13.19 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2631, allocations: 0.8125 kB / 439.9 MB, free: 13.19 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-05/0.2632, allocations: 31.92 kB / 439.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005105/0.2637, allocations: 39.23 kB / 440 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002952/0.2667, allocations: 2.629 MB / 442.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.2668, allocations: 120.1 kB / 442.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.574e-05/0.2669, allocations: 17.95 kB / 442.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.555e-05/0.2669, allocations: 51.42 kB / 442.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of SimCode: time 7.62e-07/0.2669, allocations: 0 / 442.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03356/0.3005, allocations: 4.038 MB / 446.8 MB, free: 6.191 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.17, allocations: 14.31 kB / 446.9 MB, free: 6.184 MB / 350.1 MB " [Timeout remaining time 648] (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: 14.710320131387562]