Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.Backlash,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_Backlash",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.Backlash,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_Backlash",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007135/0.0007134, allocations: 96.02 kB / 16.95 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007929/0.0007929, allocations: 182.7 kB / 17.84 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.31/1.31, allocations: 205.4 MB / 224 MB, free: 13.15 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004686/0.0004688, allocations: 15.98 kB / 280.9 MB, free: 3.617 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09211/0.09259, allocations: 47.56 MB / 328.4 MB, free: 3.98 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002335/0.09498, allocations: 2.047 MB / 330.5 MB, free: 1.918 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.09612, allocations: 0.7379 MB / 331.2 MB, free: 1.176 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.09624, allocations: 4 kB / 331.2 MB, free: 1.172 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001361/0.09639, allocations: 39.7 kB / 331.3 MB, free: 1.133 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001824/0.09658, allocations: 87.3 kB / 331.4 MB, free: 1.047 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003044/0.09689, allocations: 95.81 kB / 331.4 MB, free: 0.9531 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003799/0.09728, allocations: 406.3 kB / 331.8 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001777/0.09747, allocations: 77.08 kB / 331.9 MB, free: 492 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002042/0.09768, allocations: 159.4 kB / 332.1 MB, free: 332 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002111/0.0979, allocations: 183.4 kB / 332.3 MB, free: 148 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.432e-05/0.09795, allocations: 20 kB / 332.3 MB, free: 128 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.065e-05/0.09801, allocations: 20 kB / 332.3 MB, free: 108 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.396e-05/0.09808, allocations: 63.8 kB / 332.4 MB, free: 44 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.068e-05/0.09818, allocations: 85.5 kB / 332.4 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002873/0.09847, allocations: 279.5 kB / 332.7 MB, free: 15.68 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.926e-06/0.09849, allocations: 7.984 kB / 332.7 MB, free: 15.67 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.346e-06/0.09849, allocations: 0 / 332.7 MB, free: 15.67 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.09851, allocations: 7.938 kB / 332.7 MB, free: 15.66 MB / 286.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.001418/0.09993, allocations: 0.6782 MB / 333.4 MB, free: 14.94 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.75e-05/0.1, allocations: 12.03 kB / 333.4 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.927e-05/0.1001, allocations: 58.55 kB / 333.5 MB, free: 14.86 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.38e-05/0.1002, allocations: 31.62 kB / 333.5 MB, free: 14.83 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000378/0.1005, allocations: 262.5 kB / 333.8 MB, free: 14.53 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003323/0.1009, allocations: 131.9 kB / 333.9 MB, free: 14.39 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.198e-05/0.101, allocations: 35.83 kB / 333.9 MB, free: 14.36 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008854/0.1019, allocations: 412 kB / 334.3 MB, free: 13.94 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.1019, allocations: 7.984 kB / 334.3 MB, free: 13.93 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.905e-05/0.1019, allocations: 8 kB / 334.3 MB, free: 13.92 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.1019, allocations: 8 kB / 334.4 MB, free: 13.91 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.1031, allocations: 460.7 kB / 334.8 MB, free: 13.46 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.1043, allocations: 0.9781 MB / 335.8 MB, free: 12.43 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.1054, allocations: 455.5 kB / 336.2 MB, free: 11.95 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005985/0.106, allocations: 250.9 kB / 336.5 MB, free: 11.7 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.1061, allocations: 7.938 kB / 336.5 MB, free: 11.69 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.1061, allocations: 46.55 kB / 336.5 MB, free: 11.64 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 1.493e-06/0.1061, allocations: 0 / 336.5 MB, free: 11.64 MB / 286.1 MB Notification: Performance of matching and sorting (n=38): time 0.004752/0.1109, allocations: 2.504 MB / 339 MB, free: 8.867 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.634e-05/0.111, allocations: 110.8 kB / 339.1 MB, free: 8.734 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.1112, allocations: 199.2 kB / 339.3 MB, free: 8.527 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/0.1112, allocations: 33.7 kB / 339.4 MB, free: 8.488 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.743e-05/0.1113, allocations: 152.6 kB / 339.5 MB, free: 8.336 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.1114, allocations: 138 kB / 339.6 MB, free: 8.199 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.366e-05/0.1115, allocations: 11.98 kB / 339.7 MB, free: 8.188 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.1116, allocations: 339.8 kB / 340 MB, free: 7.848 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002872/0.1119, allocations: 112.8 kB / 340.1 MB, free: 7.738 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003187/0.1122, allocations: 169.4 kB / 340.3 MB, free: 7.551 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003246/0.1126, allocations: 128.2 kB / 340.4 MB, free: 7.426 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1126, allocations: 0 / 340.4 MB, free: 7.426 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007559/0.1133, allocations: 378.2 kB / 340.8 MB, free: 7.051 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.1134, allocations: 7.953 kB / 340.8 MB, free: 7.043 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.1134, allocations: 7.984 kB / 340.8 MB, free: 7.035 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.1134, allocations: 4 kB / 340.8 MB, free: 7.031 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006581/0.1141, allocations: 167.9 kB / 340.9 MB, free: 6.867 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.1141, allocations: 7.938 kB / 341 MB, free: 6.859 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/0.1143, allocations: 35.92 kB / 341 MB, free: 6.824 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.1143, allocations: 8 kB / 341 MB, free: 6.816 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001581/0.1145, allocations: 157.7 kB / 341.2 MB, free: 6.652 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.445e-05/0.1146, allocations: 27.62 kB / 341.2 MB, free: 6.625 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.861e-05/0.1147, allocations: 33.48 kB / 341.2 MB, free: 6.59 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.1147, allocations: 4 kB / 341.2 MB, free: 6.586 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.1147, allocations: 4 kB / 341.2 MB, free: 6.582 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.1147, allocations: 3.984 kB / 341.2 MB, free: 6.578 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002268/0.117, allocations: 1.393 MB / 342.6 MB, free: 5.09 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.117, allocations: 4.031 kB / 342.6 MB, free: 5.086 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007739/0.1178, allocations: 211.7 kB / 342.8 MB, free: 4.879 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.054e-06/0.1178, allocations: 4 kB / 342.8 MB, free: 4.875 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.875e-05/0.1179, allocations: 16 kB / 342.8 MB, free: 4.859 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.1179, allocations: 3.953 kB / 342.8 MB, free: 4.855 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-05/0.1179, allocations: 4 kB / 342.9 MB, free: 4.852 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00186/0.1197, allocations: 1.049 MB / 343.9 MB, free: 3.766 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001465/0.1199, allocations: 132.7 kB / 344 MB, free: 3.617 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.574e-05/0.12, allocations: 8 kB / 344 MB, free: 3.609 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003779/0.1203, allocations: 59.95 kB / 344.1 MB, free: 3.551 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.1205, allocations: 47.83 kB / 344.1 MB, free: 3.504 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.667e-05/0.1205, allocations: 19.98 kB / 344.2 MB, free: 3.484 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001229/0.1206, allocations: 148.6 kB / 344.3 MB, free: 3.34 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1206, allocations: 0 / 344.3 MB, free: 3.34 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004224/0.1211, allocations: 80 kB / 344.4 MB, free: 3.262 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00213/0.1232, allocations: 1.59 MB / 346 MB, free: 1.625 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008955/0.1241, allocations: 400.7 kB / 346.4 MB, free: 1.234 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1241, allocations: 0 / 346.4 MB, free: 1.234 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006332/0.1248, allocations: 288.1 kB / 346.7 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006609/0.1254, allocations: 58.47 kB / 346.7 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00616/0.1316, allocations: 2.746 MB / 349.5 MB, free: 14.06 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.132, allocations: 0.772 MB / 350.2 MB, free: 13.26 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001818/0.1322, allocations: 42.95 kB / 350.3 MB, free: 13.21 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001777/0.1323, allocations: 95.39 kB / 350.4 MB, free: 13.12 MB / 302.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1323, allocations: 0 / 350.4 MB, free: 13.12 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09368/0.226, allocations: 6.318 MB / 356.7 MB, free: 6.809 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003376/0.2264, allocations: 188.8 kB / 356.9 MB, free: 6.562 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.073/2.299, allocations: 3.938 kB / 356.9 MB, free: 6.559 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_Backlash_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_Backlash.fmu > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat does not exist to compare? outputFormat=mat