Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001309/0.001309, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001478/0.001478, allocations: 209.3 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.43/1.43, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 47.92 kB / 377.7 MB, free: 3.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2392, allocations: 53.37 MB / 431.1 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003282/0.2425, allocations: 2.022 MB / 433.1 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004569/0.243, allocations: 159.4 kB / 433.2 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.846e-05/0.2431, allocations: 8 kB / 433.3 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001389/0.2432, allocations: 35.66 kB / 433.3 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.494e-05/0.2433, allocations: 43.56 kB / 433.3 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001527/0.2434, allocations: 43.94 kB / 433.4 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000234/0.2437, allocations: 179.2 kB / 433.6 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.2438, allocations: 42.41 kB / 433.6 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.2439, allocations: 71.77 kB / 433.7 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.244, allocations: 75.64 kB / 433.7 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.988e-05/0.2441, allocations: 12 kB / 433.7 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.339e-05/0.2441, allocations: 16 kB / 433.8 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.362e-05/0.2441, allocations: 27.92 kB / 433.8 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.873e-05/0.2442, allocations: 71.66 kB / 433.9 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002437/0.2445, allocations: 184.9 kB / 434 MB, free: 3.676 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2445, allocations: 0 / 434 MB, free: 3.676 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2445, allocations: 0 / 434 MB, free: 3.676 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.271e-06/0.2445, allocations: 0 / 434 MB, free: 3.676 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006476/0.2451, allocations: 393.5 kB / 434.4 MB, free: 3.262 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.2452, allocations: 8.031 kB / 434.4 MB, free: 3.254 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.791e-05/0.2452, allocations: 54.73 kB / 434.5 MB, free: 3.191 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.692e-05/0.2453, allocations: 20.8 kB / 434.5 MB, free: 3.172 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002871/0.2456, allocations: 154.3 kB / 434.7 MB, free: 2.996 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.2456, allocations: 24.14 kB / 434.7 MB, free: 2.973 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.08e-05/0.2456, allocations: 24.31 kB / 434.7 MB, free: 2.949 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000322/0.246, allocations: 182.2 kB / 434.9 MB, free: 2.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.246, allocations: 7.984 kB / 434.9 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.246, allocations: 8 kB / 434.9 MB, free: 2.734 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.246, allocations: 4 kB / 434.9 MB, free: 2.73 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001867/0.2462, allocations: 95.89 kB / 435 MB, free: 2.637 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001285/0.2475, allocations: 0.8914 MB / 435.9 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.2476, allocations: 99.83 kB / 436 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.064e-05/0.2477, allocations: 42.66 kB / 436 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.2477, allocations: 3.938 kB / 436 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.2477, allocations: 38.56 kB / 436.1 MB, free: 1.441 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.513e-06/0.2477, allocations: 0 / 436.1 MB, free: 1.441 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003176/0.248, allocations: 133.4 kB / 436.2 MB, free: 1.305 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.891e-05/0.2481, allocations: 106.8 kB / 436.3 MB, free: 1.176 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.2483, allocations: 219.6 kB / 436.5 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.2483, allocations: 25.7 kB / 436.5 MB, free: 0.918 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.2484, allocations: 144.1 kB / 436.7 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.149e-05/0.2485, allocations: 47.53 kB / 436.7 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.627e-05/0.2486, allocations: 45.94 kB / 436.8 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001905/0.2487, allocations: 326.8 kB / 437.1 MB, free: 352 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.92e-05/0.2488, allocations: 40.45 kB / 437.1 MB, free: 312 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/0.249, allocations: 150.6 kB / 437.3 MB, free: 112 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000295/0.2493, allocations: 202.2 kB / 437.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2493, allocations: 0 / 437.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003357/0.2496, allocations: 213.2 kB / 437.7 MB, free: 15.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.2496, allocations: 8.391 kB / 437.7 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.2496, allocations: 8 kB / 437.7 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.2497, allocations: 7.938 kB / 437.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.2498, allocations: 51.92 kB / 437.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.2498, allocations: 4 kB / 437.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.2499, allocations: 31.72 kB / 437.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.25, allocations: 12 kB / 437.8 MB, free: 15.52 MB / 350.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 0.0001266/0.2501, allocations: 133.8 kB / 437.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.365e-05/0.2502, allocations: 19.91 kB / 438 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.791e-05/0.2502, allocations: 21.03 kB / 438 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.2502, allocations: 4 kB / 438 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.2502, allocations: 0 / 438 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.2502, allocations: 11.92 kB / 438 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000441/0.2507, allocations: 200.5 kB / 438.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.2507, allocations: 0 / 438.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.2508, allocations: 35.92 kB / 438.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.2508, allocations: 0 / 438.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.2508, allocations: 4 kB / 438.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.2508, allocations: 0 / 438.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2508, allocations: 0 / 438.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003914/0.2512, allocations: 389.8 kB / 438.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.906e-05/0.2513, allocations: 23.91 kB / 438.6 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.886e-05/0.2513, allocations: 4 kB / 438.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.2515, allocations: 4 kB / 438.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.412e-05/0.2515, allocations: 11.92 kB / 438.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.2515, allocations: 7.984 kB / 438.7 MB, free: 14.6 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001403/0.2516, allocations: 149.5 kB / 438.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2516, allocations: 0 / 438.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003893/0.252, allocations: 40 kB / 438.8 MB, free: 14.42 MB / 350.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.0006447/0.2527, allocations: 0.9204 MB / 439.8 MB, free: 13.47 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002254/0.2529, allocations: 107.8 kB / 439.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2529, allocations: 0 / 439.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.855e-05/0.2529, allocations: 35.92 kB / 439.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005448/0.2535, allocations: 31.91 kB / 439.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002937/0.2564, allocations: 2.633 MB / 442.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001194/0.2566, allocations: 112.1 kB / 442.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.319e-05/0.2566, allocations: 17.95 kB / 442.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.462e-05/0.2567, allocations: 51.42 kB / 442.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.2567, allocations: 3.938 kB / 442.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03156/0.2883, allocations: 4.102 MB / 446.9 MB, free: 6.328 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.33, allocations: 4.062 kB / 446.9 MB, free: 6.324 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_SignConvention.fmu > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable mass3.v in file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.csv. Warning: Get data of variable mass3.v from file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.772747117007384]