Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.005136/0.005136, allocations: 114 kB / 21.97 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 206.5 kB / 25.27 MB, free: 3.215 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.317/1.317, allocations: 207.6 MB / 236 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 50.91 kB / 348 MB, free: 10.14 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.241, allocations: 49.17 MB / 397.1 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002688/0.2437, allocations: 2.098 MB / 399.2 MB, free: 7.516 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002973/0.244, allocations: 167.1 kB / 399.4 MB, free: 7.391 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.941e-05/0.2441, allocations: 3.969 kB / 399.4 MB, free: 7.391 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001256/0.2442, allocations: 29.58 kB / 399.4 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.752e-05/0.2443, allocations: 48.02 kB / 399.5 MB, free: 7.336 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000163/0.2444, allocations: 46.28 kB / 399.5 MB, free: 7.309 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.2446, allocations: 176.7 kB / 399.7 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.2448, allocations: 52.19 kB / 399.7 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.153e-05/0.2448, allocations: 69.78 kB / 399.8 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.2449, allocations: 70.59 kB / 399.9 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.484e-05/0.245, allocations: 14.66 kB / 399.9 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.688e-05/0.245, allocations: 13 kB / 399.9 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.126e-05/0.245, allocations: 30.73 kB / 399.9 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.914e-05/0.2451, allocations: 84.67 kB / 400 MB, free: 7.059 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002266/0.2453, allocations: 188.3 kB / 400.2 MB, free: 6.98 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2453, allocations: 1.188 kB / 400.2 MB, free: 6.98 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2453, allocations: 0 / 400.2 MB, free: 6.98 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.2453, allocations: 0 / 400.2 MB, free: 6.98 MB / 318.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.0005138/0.2458, allocations: 392.1 kB / 400.6 MB, free: 6.645 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.2459, allocations: 13.95 kB / 400.6 MB, free: 6.641 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.982e-05/0.2459, allocations: 12.34 kB / 400.6 MB, free: 6.633 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.58e-05/0.2459, allocations: 47.7 kB / 400.7 MB, free: 6.586 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.052e-05/0.246, allocations: 19.47 kB / 400.7 MB, free: 6.578 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.2462, allocations: 163.5 kB / 400.8 MB, free: 6.418 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.2462, allocations: 18.72 kB / 400.9 MB, free: 6.406 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.194e-05/0.2462, allocations: 15.47 kB / 400.9 MB, free: 6.402 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002714/0.2465, allocations: 200.6 kB / 401.1 MB, free: 6.266 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.2465, allocations: 1.469 kB / 401.1 MB, free: 6.266 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.2465, allocations: 9.5 kB / 401.1 MB, free: 6.258 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.2466, allocations: 6.594 kB / 401.1 MB, free: 6.258 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001707/0.2467, allocations: 97.66 kB / 401.2 MB, free: 6.227 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009812/0.2477, allocations: 0.9218 MB / 402.1 MB, free: 5.422 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.2478, allocations: 98.08 kB / 402.2 MB, free: 5.336 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.583e-05/0.2479, allocations: 42.78 kB / 402.2 MB, free: 5.301 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.596e-06/0.2479, allocations: 1.469 kB / 402.2 MB, free: 5.301 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.304e-05/0.2479, allocations: 40.73 kB / 402.3 MB, free: 5.254 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.2479, allocations: 0 / 402.3 MB, free: 5.254 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002696/0.2482, allocations: 128.1 kB / 402.4 MB, free: 5.188 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/0.2482, allocations: 105 kB / 402.5 MB, free: 5.062 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.2483, allocations: 212.5 kB / 402.7 MB, free: 4.918 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.686e-06/0.2483, allocations: 25.7 kB / 402.7 MB, free: 4.887 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.562e-05/0.2484, allocations: 143.8 kB / 402.9 MB, free: 4.758 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.2484, allocations: 55 kB / 402.9 MB, free: 4.715 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.389e-05/0.2485, allocations: 44.23 kB / 403 MB, free: 4.684 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.096e-05/0.2485, allocations: 333.5 kB / 403.3 MB, free: 4.359 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.333e-05/0.2486, allocations: 37.36 kB / 403.3 MB, free: 4.348 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.42e-05/0.2487, allocations: 146.9 kB / 403.5 MB, free: 4.195 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.2488, allocations: 197 kB / 403.7 MB, free: 4.012 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.2488, allocations: 1.219 kB / 403.7 MB, free: 4.012 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002689/0.2491, allocations: 220.6 kB / 403.9 MB, free: 3.902 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.2491, allocations: 7.125 kB / 403.9 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.2491, allocations: 3.656 kB / 403.9 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.2492, allocations: 5.844 kB / 403.9 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.2493, allocations: 51.7 kB / 404 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.2493, allocations: 9.703 kB / 404 MB, free: 3.891 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.2494, allocations: 28.53 kB / 404 MB, free: 3.871 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.2494, allocations: 9.688 kB / 404 MB, free: 3.871 MB / 318.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 6.618e-05/0.2495, allocations: 136.6 kB / 404.1 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.407e-05/0.2496, allocations: 16.98 kB / 404.2 MB, free: 3.73 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.061e-05/0.2496, allocations: 20.67 kB / 404.2 MB, free: 3.707 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.2496, allocations: 5.344 kB / 404.2 MB, free: 3.703 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.2496, allocations: 6.141 kB / 404.2 MB, free: 3.699 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.2496, allocations: 2.156 kB / 404.2 MB, free: 3.699 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003461/0.25, allocations: 218 kB / 404.4 MB, free: 3.508 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.25, allocations: 1.188 kB / 404.4 MB, free: 3.508 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001388/0.2501, allocations: 27.91 kB / 404.4 MB, free: 3.508 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.2501, allocations: 9.344 kB / 404.4 MB, free: 3.5 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.2501, allocations: 2.781 kB / 404.4 MB, free: 3.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.2501, allocations: 1.438 kB / 404.4 MB, free: 3.5 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.2501, allocations: 9.328 kB / 404.4 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002303/0.2503, allocations: 385 kB / 404.8 MB, free: 3.168 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.644e-05/0.2504, allocations: 23.17 kB / 404.8 MB, free: 3.152 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.2504, allocations: 7.094 kB / 404.9 MB, free: 3.148 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.2505, allocations: 4.938 kB / 404.9 MB, free: 3.145 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.661e-05/0.2506, allocations: 12.11 kB / 404.9 MB, free: 3.141 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-06/0.2506, allocations: 2.766 kB / 404.9 MB, free: 3.141 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000101/0.2507, allocations: 149.7 kB / 405 MB, free: 3.043 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2507, allocations: 0 / 405 MB, free: 3.043 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003507/0.251, allocations: 40.28 kB / 405.1 MB, free: 3.035 MB / 318.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.0003387/0.2514, allocations: 0.914 MB / 406 MB, free: 2.176 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001859/0.2515, allocations: 102.9 kB / 406.1 MB, free: 2.145 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.2515, allocations: 128 / 406.1 MB, free: 2.145 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.667e-05/0.2516, allocations: 40.31 kB / 406.1 MB, free: 2.129 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004849/0.2521, allocations: 39.28 kB / 406.1 MB, free: 2.105 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002078/0.2542, allocations: 2.628 MB / 408.8 MB, free: 15.91 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.2545, allocations: 0.7254 MB / 409.5 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.617e-05/0.2546, allocations: 18.47 kB / 409.5 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.165e-05/0.2547, allocations: 48.06 kB / 409.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2547, allocations: 4 kB / 409.6 MB, free: 15.17 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02555/0.2802, allocations: 3.725 MB / 413.3 MB, free: 14.09 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/10.68, allocations: 4.188 kB / 413.3 MB, free: 14.09 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_SignConvention_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_SignConvention.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 12.907897488970775]