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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002102/0.002102, allocations: 92.62 kB / 20.95 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00242/0.00242, allocations: 157.4 kB / 24.25 MB, free: 160 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.579/1.579, allocations: 173.4 MB / 200.8 MB, free: 9.309 MB / 186.7 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention") translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 267.3 MB, free: 6.754 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.075e-05/3.234e-05, allocations: 6.25 kB / 267.3 MB, free: 6.746 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003429/0.003461, allocations: 2.02 MB / 269.3 MB, free: 4.715 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003876/0.003849, allocations: 155.4 kB / 269.5 MB, free: 4.562 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.754e-05/0.003947, allocations: 11.94 kB / 269.5 MB, free: 4.551 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001328/0.004079, allocations: 31.66 kB / 269.5 MB, free: 4.52 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.004186, allocations: 51.55 kB / 269.6 MB, free: 4.469 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001554/0.004341, allocations: 43.89 kB / 269.6 MB, free: 4.426 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002756/0.004617, allocations: 187 kB / 269.8 MB, free: 4.242 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.004763, allocations: 42.47 kB / 269.8 MB, free: 4.191 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.004907, allocations: 99.83 kB / 269.9 MB, free: 4.094 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.005023, allocations: 55.81 kB / 270 MB, free: 4.039 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.857e-05/0.005061, allocations: 19.94 kB / 270 MB, free: 4.02 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.094e-05/0.005092, allocations: 12 kB / 270 MB, free: 4.008 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.341e-05/0.005136, allocations: 35.83 kB / 270 MB, free: 3.973 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.474e-05/0.00521, allocations: 55.91 kB / 270.1 MB, free: 3.918 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002679/0.005478, allocations: 179.4 kB / 270.3 MB, free: 3.742 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.00548, allocations: 0 / 270.3 MB, free: 3.742 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.005481, allocations: 0 / 270.3 MB, free: 3.742 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.057e-06/0.005485, allocations: 0 / 270.3 MB, free: 3.742 MB / 250.7 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.0006715/0.006156, allocations: 393.6 kB / 270.7 MB, free: 3.328 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.00619, allocations: 8.031 kB / 270.7 MB, free: 3.32 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.576e-05/0.006266, allocations: 36.8 kB / 270.7 MB, free: 3.285 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/0.006545, allocations: 153.5 kB / 270.8 MB, free: 3.109 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.006562, allocations: 16.38 kB / 270.9 MB, free: 3.094 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.334e-05/0.006606, allocations: 16.38 kB / 270.9 MB, free: 3.078 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005403/0.007146, allocations: 186 kB / 271.1 MB, free: 2.875 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.007165, allocations: 4.141 kB / 271.1 MB, free: 2.871 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.007186, allocations: 12.38 kB / 271.1 MB, free: 2.859 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.998e-06/0.007196, allocations: 12.06 kB / 271.1 MB, free: 2.848 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002099/0.007406, allocations: 99.81 kB / 271.2 MB, free: 2.75 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/0.008762, allocations: 0.8497 MB / 272 MB, free: 1.836 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.008935, allocations: 103.8 kB / 272.1 MB, free: 1.707 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.099e-05/0.009006, allocations: 38.66 kB / 272.2 MB, free: 1.66 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.009018, allocations: 4 kB / 272.2 MB, free: 1.656 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.00905, allocations: 34.5 kB / 272.2 MB, free: 1.613 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/0.009051, allocations: 4 kB / 272.2 MB, free: 1.609 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003396/0.009391, allocations: 129.5 kB / 272.3 MB, free: 1.477 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.988e-05/0.009471, allocations: 102.8 kB / 272.4 MB, free: 1.352 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.009663, allocations: 178.1 kB / 272.6 MB, free: 1.168 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.009686, allocations: 33.64 kB / 272.7 MB, free: 1.129 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.009803, allocations: 144.2 kB / 272.8 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.394e-05/0.009857, allocations: 55.53 kB / 272.8 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.503e-05/0.009932, allocations: 41.94 kB / 272.9 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.01011, allocations: 322.8 kB / 273.2 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.443e-05/0.01019, allocations: 40.45 kB / 273.2 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.01037, allocations: 150.6 kB / 273.4 MB, free: 328 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002764/0.01065, allocations: 202 kB / 273.6 MB, free: 76 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.01065, allocations: 0 / 273.6 MB, free: 76 kB / 250.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003941/0.01104, allocations: 225.2 kB / 273.8 MB, free: 15.85 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.01106, allocations: 8.406 kB / 273.8 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.01107, allocations: 0 / 273.8 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.01108, allocations: 12 kB / 273.8 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.01126, allocations: 47.86 kB / 273.9 MB, free: 15.78 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/0.01128, allocations: 11.98 kB / 273.9 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.01139, allocations: 23.84 kB / 273.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/0.01141, allocations: 8 kB / 273.9 MB, free: 15.74 MB / 266.7 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.0001286/0.01154, allocations: 137.7 kB / 274.1 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.458e-05/0.01161, allocations: 19.95 kB / 274.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.838e-05/0.01166, allocations: 16.34 kB / 274.1 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.01166, allocations: 0 / 274.1 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.01166, allocations: 4 kB / 274.1 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.01167, allocations: 7.984 kB / 274.1 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004226/0.01209, allocations: 173.2 kB / 274.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.0121, allocations: 0 / 274.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/0.01226, allocations: 35.86 kB / 274.3 MB, free: 15.31 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.01227, allocations: 4 kB / 274.3 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.01229, allocations: 7.984 kB / 274.3 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.01229, allocations: 0 / 274.3 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01229, allocations: 0 / 274.3 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003932/0.01268, allocations: 381.9 kB / 274.7 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.351e-05/0.01272, allocations: 23.89 kB / 274.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.01274, allocations: 8 kB / 274.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/0.01289, allocations: 0 / 274.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.139e-05/0.01292, allocations: 11.98 kB / 274.7 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.01293, allocations: 4 kB / 274.7 MB, free: 14.86 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001214/0.01305, allocations: 120.7 kB / 274.9 MB, free: 14.74 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01305, allocations: 4 kB / 274.9 MB, free: 14.74 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003924/0.01345, allocations: 36 kB / 274.9 MB, free: 14.7 MB / 266.7 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.0001222/0.01357, allocations: 103.2 kB / 275 MB, free: 14.59 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002322/0.0138, allocations: 111.8 kB / 275.1 MB, free: 14.48 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.0138, allocations: 0 / 275.1 MB, free: 14.48 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.305e-05/0.01386, allocations: 35.92 kB / 275.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005221/0.01439, allocations: 35.05 kB / 275.2 MB, free: 14.42 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009138/0.0153, allocations: 0.5071 MB / 275.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001331/0.01543, allocations: 112.2 kB / 275.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.517e-05/0.0155, allocations: 17.48 kB / 275.8 MB, free: 13.74 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.73e-05/0.01554, allocations: 16.5 kB / 275.8 MB, free: 13.72 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01554, allocations: 0 / 275.8 MB, free: 13.72 MB / 266.7 MB Notification: Performance of Templates: time 0.004279/0.01982, allocations: 1.176 MB / 277 MB, free: 12.56 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 4.384360286989249]