Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Translational.Examples.SignConvention,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention",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.001187/0.001187, allocations: 112.2 kB / 16.51 MB, free: 6.707 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.001174/0.001174, allocations: 190.5 kB / 17.43 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 222.9 MB / 241.1 MB, free: 15.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 51.45 kB / 300.1 MB, free: 6.191 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08641/0.08759, allocations: 49.45 MB / 349.5 MB, free: 4.734 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003453/0.09108, allocations: 2.145 MB / 351.7 MB, free: 2.57 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004292/0.09153, allocations: 163.4 kB / 351.8 MB, free: 2.41 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.09168, allocations: 8 kB / 351.8 MB, free: 2.402 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000138/0.09185, allocations: 19.78 kB / 351.8 MB, free: 2.383 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.09196, allocations: 47.62 kB / 351.9 MB, free: 2.336 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002009/0.09217, allocations: 31.97 kB / 351.9 MB, free: 2.305 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002066/0.09238, allocations: 167.3 kB / 352.1 MB, free: 2.141 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.09254, allocations: 54.14 kB / 352.1 MB, free: 2.082 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.568e-05/0.09262, allocations: 55.8 kB / 352.2 MB, free: 2.027 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.29e-05/0.09272, allocations: 71.64 kB / 352.3 MB, free: 1.957 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.336e-05/0.09275, allocations: 8 kB / 352.3 MB, free: 1.949 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.762e-05/0.09278, allocations: 12 kB / 352.3 MB, free: 1.938 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.095e-05/0.09282, allocations: 31.84 kB / 352.3 MB, free: 1.906 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.09294, allocations: 79.59 kB / 352.4 MB, free: 1.828 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.09311, allocations: 175.5 kB / 352.6 MB, free: 1.656 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.09313, allocations: 4 kB / 352.6 MB, free: 1.652 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.09313, allocations: 0 / 352.6 MB, free: 1.652 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.09315, allocations: 0 / 352.6 MB, free: 1.652 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006031/0.09376, allocations: 458.8 kB / 353 MB, free: 1.156 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.0938, allocations: 12.02 kB / 353 MB, free: 1.145 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.986e-05/0.09386, allocations: 58.73 kB / 353.1 MB, free: 1.078 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.09391, allocations: 20.69 kB / 353.1 MB, free: 1.059 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.09411, allocations: 212.1 kB / 353.3 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.09413, allocations: 16.38 kB / 353.3 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.09416, allocations: 16.38 kB / 353.3 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002869/0.09446, allocations: 185.9 kB / 353.5 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.201e-05/0.09452, allocations: 11.91 kB / 353.5 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.09454, allocations: 7.984 kB / 353.5 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.09456, allocations: 4 kB / 353.5 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001673/0.09473, allocations: 99.89 kB / 353.6 MB, free: 468 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.09595, allocations: 0.9584 MB / 354.6 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.09612, allocations: 95.75 kB / 354.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.216e-05/0.09619, allocations: 46.75 kB / 354.7 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.09621, allocations: 3.938 kB / 354.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.09623, allocations: 34.56 kB / 354.8 MB, free: 15.19 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 2.575e-06/0.09624, allocations: 0 / 354.8 MB, free: 15.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002966/0.09654, allocations: 133.8 kB / 354.9 MB, free: 15.05 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.0966, allocations: 110.8 kB / 355 MB, free: 14.92 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.09678, allocations: 207.8 kB / 355.2 MB, free: 14.71 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.09681, allocations: 25.7 kB / 355.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.09693, allocations: 143.8 kB / 355.4 MB, free: 14.53 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/0.09698, allocations: 51.27 kB / 355.4 MB, free: 14.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.76e-05/0.09705, allocations: 45.94 kB / 355.5 MB, free: 14.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.875e-05/0.09715, allocations: 330.8 kB / 355.8 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.029e-05/0.09723, allocations: 36.45 kB / 355.8 MB, free: 14.06 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.09735, allocations: 150.6 kB / 356 MB, free: 13.86 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002047/0.09756, allocations: 193.5 kB / 356.2 MB, free: 13.62 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.09757, allocations: 4 kB / 356.2 MB, free: 13.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000326/0.0979, allocations: 221.1 kB / 356.4 MB, free: 13.4 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.09793, allocations: 8 kB / 356.4 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.09794, allocations: 4 kB / 356.4 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.09796, allocations: 4 kB / 356.4 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.09811, allocations: 47.92 kB / 356.5 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.09813, allocations: 7.984 kB / 356.5 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.09825, allocations: 31.62 kB / 356.5 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.09827, allocations: 16.38 kB / 356.5 MB, free: 13.28 MB / 302.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 9.553e-05/0.09837, allocations: 137.7 kB / 356.6 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.092e-05/0.09845, allocations: 15.81 kB / 356.7 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.648e-05/0.09854, allocations: 20.92 kB / 356.7 MB, free: 13.1 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.09856, allocations: 4 kB / 356.7 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.09857, allocations: 0 / 356.7 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.09857, allocations: 3.938 kB / 356.7 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003921/0.09897, allocations: 241.5 kB / 356.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.09898, allocations: 3.938 kB / 356.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.09913, allocations: 31.92 kB / 357 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.09915, allocations: 8 kB / 357 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.09916, allocations: 4 kB / 357 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.09917, allocations: 4 kB / 357 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.09918, allocations: 0 / 357 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003267/0.09951, allocations: 389.9 kB / 357.4 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.071e-05/0.09957, allocations: 96.77 kB / 357.5 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.257e-05/0.09961, allocations: 12.06 kB / 357.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.09976, allocations: 0 / 357.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.388e-05/0.09979, allocations: 11.92 kB / 357.5 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-06/0.0998, allocations: 8 kB / 357.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000111/0.09992, allocations: 149.5 kB / 357.6 MB, free: 12.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.09993, allocations: 0 / 357.6 MB, free: 12.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003707/0.1003, allocations: 36 kB / 357.7 MB, free: 12.03 MB / 302.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.0005072/0.1008, allocations: 0.9139 MB / 358.6 MB, free: 11.09 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001912/0.101, allocations: 108.5 kB / 358.7 MB, free: 10.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.101, allocations: 4.188 kB / 358.7 MB, free: 10.98 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.874e-05/0.1011, allocations: 35.92 kB / 358.7 MB, free: 10.94 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005362/0.1016, allocations: 34.42 kB / 358.8 MB, free: 10.91 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002603/0.1042, allocations: 2.663 MB / 361.4 MB, free: 8.082 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.1045, allocations: 0.7283 MB / 362.1 MB, free: 7.328 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.376e-05/0.1046, allocations: 17.95 kB / 362.2 MB, free: 7.312 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.3e-05/0.1047, allocations: 51.42 kB / 362.2 MB, free: 7.262 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1047, allocations: 0 / 362.2 MB, free: 7.262 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4093/0.514, allocations: 3.229 MB / 365.4 MB, free: 4.141 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002217/0.5142, allocations: 210.1 kB / 365.6 MB, free: 3.887 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.908/2.422, allocations: 0 / 365.6 MB, free: 3.887 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches