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.001403/0.001403, 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.001641/0.001641, allocations: 214 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.453/1.453, allocations: 230.5 MB / 257.4 MB, free: 8.012 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.00201/0.00201, allocations: 71.89 kB / 377.8 MB, free: 3.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2312, allocations: 53.41 MB / 431.2 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003889/0.235, allocations: 2.464 MB / 433.6 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0016/0.2366, allocations: 0.7834 MB / 434.4 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002228/0.2369, allocations: 7.938 kB / 434.4 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001838/0.2371, allocations: 39.58 kB / 434.5 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000308/0.2374, allocations: 115 kB / 434.6 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004257/0.2378, allocations: 119.8 kB / 434.7 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006068/0.2384, allocations: 462.2 kB / 435.2 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001942/0.2386, allocations: 65.08 kB / 435.2 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003558/0.2389, allocations: 199.4 kB / 435.4 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003948/0.2393, allocations: 203.3 kB / 435.6 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.179e-05/0.2394, allocations: 36 kB / 435.6 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.393e-05/0.2395, allocations: 40 kB / 435.7 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.27e-05/0.2396, allocations: 91.72 kB / 435.8 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002017/0.2398, allocations: 179.2 kB / 435.9 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005181/0.2403, allocations: 414.9 kB / 436.4 MB, free: 1.477 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.2403, allocations: 0 / 436.4 MB, free: 1.477 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2403, allocations: 0 / 436.4 MB, free: 1.477 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.2403, allocations: 0 / 436.4 MB, free: 1.477 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.001688/0.242, allocations: 0.6144 MB / 437 MB, free: 0.832 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.242, allocations: 12.03 kB / 437 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.345e-05/0.2421, allocations: 62.72 kB / 437 MB, free: 0.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.616e-05/0.2422, allocations: 40.75 kB / 437.1 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004426/0.2427, allocations: 213.9 kB / 437.3 MB, free: 488 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001579/0.2428, allocations: 143.4 kB / 437.4 MB, free: 320 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.476e-05/0.2429, allocations: 28 kB / 437.5 MB, free: 292 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009453/0.2438, allocations: 378.5 kB / 437.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.2439, allocations: 0 / 437.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.452e-05/0.2439, allocations: 12 kB / 437.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.2439, allocations: 11.94 kB / 437.8 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001215/0.2451, allocations: 391.6 kB / 438.2 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001473/0.2466, allocations: 0.9341 MB / 439.2 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/0.2477, allocations: 387.6 kB / 439.5 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006146/0.2483, allocations: 210.4 kB / 439.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/0.2483, allocations: 4 kB / 439.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.152e-05/0.2484, allocations: 46.5 kB / 439.8 MB, free: 13.83 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 3.026e-06/0.2484, allocations: 0 / 439.8 MB, free: 13.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.004778/0.2532, allocations: 1.874 MB / 441.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.2533, allocations: 114.8 kB / 441.8 MB, free: 11.67 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000235/0.2535, allocations: 208.2 kB / 442 MB, free: 11.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.686e-05/0.2535, allocations: 29.7 kB / 442 MB, free: 11.42 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.2537, allocations: 152.8 kB / 442.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/0.2538, allocations: 142.8 kB / 442.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.2539, allocations: 74.08 kB / 442.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.2541, allocations: 338.8 kB / 442.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000326/0.2544, allocations: 108.8 kB / 442.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003581/0.2548, allocations: 169.5 kB / 443 MB, free: 10.42 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006472/0.2555, allocations: 291.9 kB / 443.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2555, allocations: 0 / 443.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008461/0.2563, allocations: 372 kB / 443.6 MB, free: 9.754 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.2563, allocations: 11.98 kB / 443.6 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.2563, allocations: 3.984 kB / 443.6 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.2564, allocations: 4 kB / 443.6 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006994/0.2571, allocations: 151.8 kB / 443.8 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/0.2571, allocations: 0 / 443.8 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002258/0.2573, allocations: 27.98 kB / 443.8 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.39e-05/0.2573, allocations: 12 kB / 443.8 MB, free: 9.547 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.0001693/0.2575, allocations: 141.8 kB / 444 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.2576, allocations: 39.73 kB / 444 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.025e-05/0.2577, allocations: 33.47 kB / 444 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.2577, allocations: 7.984 kB / 444.1 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.2577, allocations: 0 / 444.1 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.2577, allocations: 7.984 kB / 444.1 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002558/0.2603, allocations: 1.298 MB / 445.4 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.2603, allocations: 0 / 445.4 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008013/0.2611, allocations: 168 kB / 445.5 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.2611, allocations: 4 kB / 445.5 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.501e-05/0.2611, allocations: 23.92 kB / 445.6 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.2611, allocations: 4 kB / 445.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/0.2611, allocations: 4 kB / 445.6 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00201/0.2631, allocations: 0.9563 MB / 446.5 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.2633, allocations: 51.83 kB / 446.6 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.588e-05/0.2633, allocations: 15.92 kB / 446.6 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003963/0.2637, allocations: 40.05 kB / 446.6 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.2638, allocations: 55.75 kB / 446.7 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.809e-05/0.2638, allocations: 15.98 kB / 446.7 MB, free: 6.555 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001351/0.264, allocations: 147.5 kB / 446.8 MB, free: 6.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.264, allocations: 0 / 446.8 MB, free: 6.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005118/0.2645, allocations: 84 kB / 446.9 MB, free: 6.328 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.002367/0.2669, allocations: 1.493 MB / 448.4 MB, free: 4.785 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009708/0.2678, allocations: 359.3 kB / 448.8 MB, free: 4.434 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2678, allocations: 4.188 kB / 448.8 MB, free: 4.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006956/0.2685, allocations: 235.7 kB / 449 MB, free: 4.199 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006758/0.2692, allocations: 71.44 kB / 449.1 MB, free: 4.133 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008205/0.2774, allocations: 3.859 MB / 452.9 MB, free: 116 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004627/0.2779, allocations: 0.7682 MB / 453.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001624/0.278, allocations: 38.95 kB / 453.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001957/0.2782, allocations: 95.59 kB / 453.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of SimCode: time 1.102e-06/0.2782, allocations: 0 / 453.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03854/0.3168, allocations: 7.55 MB / 461.4 MB, free: 7.781 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.26, allocations: 7.484 kB / 461.4 MB, free: 7.777 MB / 366.1 MB " [Timeout remaining time 649] (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: 13.603012236999348]