Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.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.001699/0.001699, 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.001933/0.001933, allocations: 213.9 kB / 23.73 MB, free: 4.164 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.452/1.452, allocations: 230.5 MB / 257.4 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.Rotational.Examples.Backlash,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Backlash",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.Backlash,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Backlash",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 59.91 kB / 377.7 MB, free: 2.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.2439, allocations: 53.4 MB / 431.1 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003582/0.2475, allocations: 2.288 MB / 433.4 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001371/0.2489, allocations: 0.7522 MB / 434.2 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.249, allocations: 7.938 kB / 434.2 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001416/0.2491, allocations: 39.58 kB / 434.2 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002195/0.2493, allocations: 107.1 kB / 434.3 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003455/0.2497, allocations: 131.3 kB / 434.4 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000455/0.2501, allocations: 470.2 kB / 434.9 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.2503, allocations: 57.08 kB / 435 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002304/0.2505, allocations: 191.4 kB / 435.1 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002324/0.2508, allocations: 187.3 kB / 435.3 MB, free: 2.238 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.037e-05/0.2508, allocations: 40 kB / 435.4 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.024e-05/0.2509, allocations: 36 kB / 435.4 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.387e-05/0.251, allocations: 91.72 kB / 435.5 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001536/0.2511, allocations: 151.4 kB / 435.6 MB, free: 1.926 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004269/0.2516, allocations: 416.1 kB / 436 MB, free: 1.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2516, allocations: 4 kB / 436 MB, free: 1.516 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2516, allocations: 0 / 436 MB, free: 1.516 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.2516, allocations: 0 / 436 MB, free: 1.516 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001477/0.253, allocations: 0.6144 MB / 436.7 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.2531, allocations: 11.98 kB / 436.7 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.853e-05/0.2532, allocations: 70.72 kB / 436.7 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.725e-05/0.2533, allocations: 36.75 kB / 436.8 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000419/0.2537, allocations: 206 kB / 437 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001574/0.2538, allocations: 143.4 kB / 437.1 MB, free: 364 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.172e-05/0.2539, allocations: 28 kB / 437.1 MB, free: 336 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009306/0.2548, allocations: 382.4 kB / 437.5 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.2549, allocations: 4 kB / 437.5 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.46e-05/0.2549, allocations: 11.94 kB / 437.5 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.2549, allocations: 8 kB / 437.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/0.2561, allocations: 391.5 kB / 437.9 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001343/0.2574, allocations: 0.8562 MB / 438.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/0.2585, allocations: 395.4 kB / 439.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006036/0.2591, allocations: 210.4 kB / 439.4 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.2591, allocations: 4 kB / 439.4 MB, free: 13.99 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.748e-05/0.2592, allocations: 42.5 kB / 439.4 MB, free: 13.94 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.623e-06/0.2592, allocations: 448 / 439.4 MB, free: 13.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.004687/0.2638, allocations: 1.873 MB / 441.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.367e-05/0.2639, allocations: 106.8 kB / 441.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/0.2641, allocations: 207.2 kB / 441.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.573e-05/0.2642, allocations: 29.7 kB / 441.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.2643, allocations: 148.8 kB / 441.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/0.2644, allocations: 154.6 kB / 441.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.2645, allocations: 78.11 kB / 442 MB, free: 11.15 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.2647, allocations: 334.8 kB / 442.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003322/0.265, allocations: 104.8 kB / 442.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003535/0.2654, allocations: 169.5 kB / 442.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006677/0.266, allocations: 295.9 kB / 442.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.266, allocations: 0 / 442.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008473/0.2669, allocations: 369.3 kB / 443.2 MB, free: 9.863 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.2669, allocations: 8 kB / 443.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.2669, allocations: 96 / 443.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.2669, allocations: 8 kB / 443.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007017/0.2676, allocations: 151.8 kB / 443.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.2676, allocations: 4 kB / 443.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002201/0.2678, allocations: 19.98 kB / 443.4 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.365e-05/0.2679, allocations: 16 kB / 443.4 MB, free: 9.66 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (47): * Single equations (assignments): 47 * 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.0001543/0.268, allocations: 146.4 kB / 443.6 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.522e-05/0.2681, allocations: 31.8 kB / 443.6 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.849e-05/0.2682, allocations: 37.41 kB / 443.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.2682, allocations: 4 kB / 443.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.2682, allocations: 3.984 kB / 443.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.2682, allocations: 0 / 443.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002407/0.2706, allocations: 1.24 MB / 444.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.2706, allocations: 4 kB / 444.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008397/0.2715, allocations: 172 kB / 445.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.2715, allocations: 4 kB / 445.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.724e-05/0.2715, allocations: 27.86 kB / 445.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.481e-06/0.2715, allocations: 4 kB / 445.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2715, allocations: 0 / 445.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002062/0.2736, allocations: 0.9535 MB / 446.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.2737, allocations: 55.83 kB / 446.1 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.383e-05/0.2738, allocations: 19.92 kB / 446.1 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004166/0.2742, allocations: 43.95 kB / 446.2 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.436e-05/0.2743, allocations: 35.88 kB / 446.2 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.887e-05/0.2743, allocations: 19.98 kB / 446.2 MB, free: 6.734 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001361/0.2744, allocations: 147.2 kB / 446.4 MB, free: 6.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2744, allocations: 0 / 446.4 MB, free: 6.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004398/0.2749, allocations: 84 kB / 446.5 MB, free: 6.508 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 6 (elastoBacklash2.phi_rel,elastoBacklash2.w_rel,elastoBacklash.phi_rel,elastoBacklash.w_rel,springDamper.phi_rel,springDamper.w_rel) * 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 (38): * Single equations (assignments): 38 * 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.002313/0.2772, allocations: 1.489 MB / 448 MB, free: 4.969 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009927/0.2782, allocations: 363.5 kB / 448.3 MB, free: 4.613 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2782, allocations: 3.938 kB / 448.3 MB, free: 4.609 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006651/0.2789, allocations: 236 kB / 448.5 MB, free: 4.379 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006865/0.2795, allocations: 76.72 kB / 448.6 MB, free: 4.309 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008296/0.2878, allocations: 3.862 MB / 452.5 MB, free: 296 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001827/0.288, allocations: 160.2 kB / 452.6 MB, free: 116 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001767/0.2882, allocations: 38.95 kB / 452.7 MB, free: 76 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002123/0.2884, allocations: 99.45 kB / 452.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of SimCode: time 7.31e-07/0.2884, allocations: 0 / 452.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03924/0.3276, allocations: 8.136 MB / 460.9 MB, free: 8.004 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.61, allocations: 3.984 kB / 460.9 MB, free: 8 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Backlash_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Backlash.fmu > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.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.482471238821745]