Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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: translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 110.2 kB / 18.25 MB, free: 4.898 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.001889/0.001889, allocations: 195.3 kB / 19.18 MB, free: 3.977 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.485/1.485, allocations: 205.1 MB / 225 MB, free: 12.29 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.001356/0.001356, allocations: 55.91 kB / 281.3 MB, free: 3.168 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08762/0.08899, allocations: 46.62 MB / 327.9 MB, free: 4.477 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.004171/0.0932, allocations: 2.35 MB / 330.3 MB, free: 2.102 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.09456, allocations: 0.6164 MB / 330.9 MB, free: 1.477 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002273/0.09481, allocations: 7.938 kB / 330.9 MB, free: 1.469 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001938/0.09505, allocations: 35.59 kB / 330.9 MB, free: 1.434 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002333/0.09529, allocations: 75.33 kB / 331 MB, free: 1.359 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002606/0.09556, allocations: 51.94 kB / 331.1 MB, free: 1.309 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003302/0.09591, allocations: 254.8 kB / 331.3 MB, free: 1.059 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001836/0.0961, allocations: 84.31 kB / 331.4 MB, free: 0.9766 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001941/0.0963, allocations: 103.6 kB / 331.5 MB, free: 0.875 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001675/0.09648, allocations: 103.5 kB / 331.6 MB, free: 0.7734 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.762e-05/0.09652, allocations: 20 kB / 331.6 MB, free: 0.7539 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.004e-05/0.09657, allocations: 20 kB / 331.6 MB, free: 0.7344 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.142e-05/0.09661, allocations: 43.83 kB / 331.7 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.09673, allocations: 119.4 kB / 331.8 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002593/0.097, allocations: 255.3 kB / 332.1 MB, free: 332 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.09701, allocations: 0 / 332.1 MB, free: 332 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.09702, allocations: 0 / 332.1 MB, free: 332 kB / 270.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.09704, allocations: 0 / 332.1 MB, free: 332 kB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007243/0.09777, allocations: 0.4991 MB / 332.6 MB, free: 15.78 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.09782, allocations: 15.83 kB / 332.6 MB, free: 15.76 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.034e-05/0.09789, allocations: 28.56 kB / 332.6 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.09815, allocations: 244.6 kB / 332.8 MB, free: 15.46 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.09818, allocations: 16.81 kB / 332.9 MB, free: 15.44 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.587e-05/0.09824, allocations: 28.31 kB / 332.9 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003758/0.09862, allocations: 210.2 kB / 333.1 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.09865, allocations: 0 / 333.1 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.09867, allocations: 8 kB / 333.1 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.09869, allocations: 4 kB / 333.1 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002619/0.09896, allocations: 125.7 kB / 333.2 MB, free: 15.06 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.1, allocations: 0.717 MB / 333.9 MB, free: 14.29 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002769/0.1003, allocations: 146.5 kB / 334.1 MB, free: 14.14 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/0.1005, allocations: 72.83 kB / 334.1 MB, free: 14.06 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.1005, allocations: 0 / 334.1 MB, free: 14.06 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.1005, allocations: 34.56 kB / 334.2 MB, free: 14.02 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 1.272e-06/0.1005, allocations: 0 / 334.2 MB, free: 14.02 MB / 286.1 MB Notification: Performance of matching and sorting (n=24): time 0.001592/0.1021, allocations: 0.8931 MB / 335.1 MB, free: 13.03 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.1022, allocations: 51.41 kB / 335.1 MB, free: 12.97 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.1024, allocations: 178.7 kB / 335.3 MB, free: 12.79 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.1024, allocations: 29.7 kB / 335.3 MB, free: 12.75 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.215e-05/0.1025, allocations: 140.3 kB / 335.5 MB, free: 12.61 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.125e-05/0.1025, allocations: 86.66 kB / 335.6 MB, free: 12.52 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.652e-05/0.1026, allocations: 45.7 kB / 335.6 MB, free: 12.47 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.1027, allocations: 334.8 kB / 335.9 MB, free: 12.14 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.1029, allocations: 55.97 kB / 336 MB, free: 12.08 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.103, allocations: 100.2 kB / 336.1 MB, free: 11.97 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002714/0.1033, allocations: 172.1 kB / 336.2 MB, free: 11.79 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1033, allocations: 8 kB / 336.3 MB, free: 11.78 MB / 286.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004317/0.1038, allocations: 246 kB / 336.5 MB, free: 11.53 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.1038, allocations: 4 kB / 336.5 MB, free: 11.52 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.1038, allocations: 4 kB / 336.5 MB, free: 11.52 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000166/0.104, allocations: 36.77 kB / 336.5 MB, free: 11.48 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.1042, allocations: 52.11 kB / 336.6 MB, free: 11.43 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001234/0.1054, allocations: 1.477 MB / 338.1 MB, free: 9.809 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/0.1056, allocations: 15.95 kB / 338.1 MB, free: 9.793 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.1056, allocations: 12 kB / 338.1 MB, free: 9.781 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001349/0.1057, allocations: 133.8 kB / 338.2 MB, free: 9.641 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.289e-05/0.1058, allocations: 15.81 kB / 338.2 MB, free: 9.625 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.073e-05/0.1059, allocations: 29.94 kB / 338.3 MB, free: 9.598 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.1059, allocations: 4.078 kB / 338.3 MB, free: 9.594 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1059, allocations: 4 kB / 338.3 MB, free: 9.59 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.1059, allocations: 7.969 kB / 338.3 MB, free: 9.582 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008754/0.1068, allocations: 0.6519 MB / 338.9 MB, free: 8.855 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1068, allocations: 0 / 338.9 MB, free: 8.855 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002104/0.107, allocations: 47.97 kB / 339 MB, free: 8.809 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001157/0.1071, allocations: 32.84 kB / 339 MB, free: 8.773 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.1072, allocations: 4 kB / 339 MB, free: 8.77 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001124/0.1083, allocations: 1.485 MB / 340.5 MB, free: 7.145 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1083, allocations: 0 / 340.5 MB, free: 7.145 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000548/0.1089, allocations: 398 kB / 340.9 MB, free: 6.73 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.26e-05/0.1089, allocations: 97.02 kB / 341 MB, free: 6.617 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.109, allocations: 11.94 kB / 341 MB, free: 6.605 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.1091, allocations: 8 kB / 341 MB, free: 6.598 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.286e-05/0.1092, allocations: 19.91 kB / 341 MB, free: 6.578 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.1092, allocations: 8 kB / 341 MB, free: 6.57 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.532e-05/0.1093, allocations: 128.8 kB / 341.2 MB, free: 6.445 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1093, allocations: 0 / 341.2 MB, free: 6.445 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003378/0.1096, allocations: 56 kB / 341.2 MB, free: 6.391 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001317/0.1098, allocations: 107.2 kB / 341.3 MB, free: 6.273 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000586/0.1104, allocations: 306.2 kB / 341.6 MB, free: 5.961 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1104, allocations: 0 / 341.6 MB, free: 5.961 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003083/0.1107, allocations: 215.3 kB / 341.8 MB, free: 5.738 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005276/0.1112, allocations: 53.31 kB / 341.9 MB, free: 5.688 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.1125, allocations: 0.7022 MB / 342.6 MB, free: 4.949 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.1129, allocations: 0.7482 MB / 343.3 MB, free: 4.176 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.672e-05/0.1129, allocations: 19.44 kB / 343.3 MB, free: 4.156 MB / 286.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1129, allocations: 3.938 kB / 343.4 MB, free: 4.152 MB / 286.1 MB Notification: Performance of Templates: time 0.005904/0.1189, allocations: 3.448 MB / 346.8 MB, free: 0.7031 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches