Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.001779/0.001779, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002053/0.002053, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.472/1.472, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_FirstGrounded",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_FirstGrounded",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002363/0.002363, allocations: 51.92 kB / 373 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1278, allocations: 53.32 MB / 426.3 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.005659/0.1335, allocations: 2.383 MB / 428.7 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001797/0.1353, allocations: 0.6466 MB / 429.3 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002407/0.1355, allocations: 7.938 kB / 429.3 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002136/0.1357, allocations: 39.59 kB / 429.4 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000291/0.136, allocations: 71.34 kB / 429.4 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003843/0.1364, allocations: 63.84 kB / 429.5 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004922/0.1369, allocations: 254.8 kB / 429.8 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002308/0.1371, allocations: 64.36 kB / 429.8 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003344/0.1375, allocations: 119.5 kB / 429.9 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000245/0.1377, allocations: 107.5 kB / 430 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.985e-05/0.1378, allocations: 20 kB / 430.1 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.944e-05/0.1379, allocations: 20 kB / 430.1 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.329e-05/0.138, allocations: 51.78 kB / 430.1 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001718/0.1381, allocations: 111.5 kB / 430.2 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005031/0.1386, allocations: 258.8 kB / 430.5 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1386, allocations: 0 / 430.5 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1386, allocations: 0 / 430.5 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.1386, allocations: 0 / 430.5 MB, free: 0.5977 MB / 350.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.001114/0.1398, allocations: 0.5144 MB / 431 MB, free: 36 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.1398, allocations: 12.03 kB / 431 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.1862/0.326, allocations: 55.84 kB / 431.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001927/0.3262, allocations: 31.73 kB / 431.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003218/0.3265, allocations: 239.8 kB / 431.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.3265, allocations: 14.47 kB / 431.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.706e-05/0.3266, allocations: 24.08 kB / 431.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003718/0.327, allocations: 210.5 kB / 431.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.327, allocations: 13.3 kB / 431.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.327, allocations: 9.547 kB / 431.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.327, allocations: 8.219 kB / 431.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002687/0.3273, allocations: 126 kB / 431.7 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008804/0.3282, allocations: 0.7055 MB / 432.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002455/0.3284, allocations: 137.6 kB / 432.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.3285, allocations: 67.47 kB / 432.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.3285, allocations: 2.25 kB / 432.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.3286, allocations: 40.56 kB / 432.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.783e-06/0.3286, allocations: 0 / 432.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001387/0.3299, allocations: 0.8878 MB / 433.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.324e-05/0.33, allocations: 54.47 kB / 433.6 MB, free: 9.988 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.3301, allocations: 174.6 kB / 433.8 MB, free: 9.875 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.3301, allocations: 33.86 kB / 433.8 MB, free: 9.844 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.78e-05/0.3302, allocations: 147.2 kB / 434 MB, free: 9.742 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.313e-05/0.3302, allocations: 97.81 kB / 434.1 MB, free: 9.684 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.694e-05/0.3303, allocations: 47.56 kB / 434.1 MB, free: 9.668 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.111e-05/0.3303, allocations: 332.5 kB / 434.4 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.3305, allocations: 56.89 kB / 434.5 MB, free: 9.355 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.3306, allocations: 104.4 kB / 434.6 MB, free: 9.312 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002514/0.3308, allocations: 166.6 kB / 434.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-06/0.3308, allocations: 4.625 kB / 434.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000418/0.3313, allocations: 252.8 kB / 435 MB, free: 9.211 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.3313, allocations: 5.062 kB / 435 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3313, allocations: 1.062 kB / 435 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001632/0.3314, allocations: 33.69 kB / 435.1 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.3317, allocations: 55.38 kB / 435.1 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009266/0.3326, allocations: 1.488 MB / 436.6 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.3327, allocations: 11.67 kB / 436.6 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.3327, allocations: 5.906 kB / 436.6 MB, free: 7.754 MB / 350.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 9.458e-05/0.3328, allocations: 133.8 kB / 436.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.185e-05/0.3329, allocations: 17.88 kB / 436.8 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.731e-05/0.3329, allocations: 25.88 kB / 436.8 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3329, allocations: 4.422 kB / 436.8 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3329, allocations: 6.781 kB / 436.8 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.3329, allocations: 4.125 kB / 436.8 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007721/0.3337, allocations: 0.6469 MB / 437.4 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.3337, allocations: 3.781 kB / 437.4 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002071/0.3339, allocations: 47.7 kB / 437.5 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001112/0.334, allocations: 32.86 kB / 437.5 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.334, allocations: 6.188 kB / 437.5 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007703/0.3348, allocations: 1.491 MB / 439 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3348, allocations: 0.625 kB / 439 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004951/0.3353, allocations: 408.8 kB / 439.4 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-05/0.3353, allocations: 90.8 kB / 439.5 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.3354, allocations: 3.016 kB / 439.5 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.3355, allocations: 8.141 kB / 439.5 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.195e-05/0.3355, allocations: 18.62 kB / 439.5 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.3355, allocations: 11.12 kB / 439.6 MB, free: 5.281 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.878e-05/0.3356, allocations: 134 kB / 439.7 MB, free: 5.188 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3356, allocations: 3.938 kB / 439.7 MB, free: 5.184 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003527/0.336, allocations: 58.25 kB / 439.7 MB, free: 5.176 MB / 350.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.000682/0.3367, allocations: 0.933 MB / 440.7 MB, free: 4.387 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005058/0.3372, allocations: 284.5 kB / 441 MB, free: 4.223 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3372, allocations: 2.156 kB / 441 MB, free: 4.223 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002668/0.3374, allocations: 214.2 kB / 441.2 MB, free: 4.078 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004052/0.3378, allocations: 43.97 kB / 441.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002652/0.3405, allocations: 2.549 MB / 443.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001598/0.3407, allocations: 0.7466 MB / 444.5 MB, free: 1.496 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.132e-05/0.3407, allocations: 19.59 kB / 444.5 MB, free: 1.496 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.971e-05/0.3408, allocations: 65.16 kB / 444.6 MB, free: 1.449 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3408, allocations: 4 kB / 444.6 MB, free: 1.445 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03298/0.3738, allocations: 4.819 MB / 449.4 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.878/10.25, allocations: 3.797 kB / 449.4 MB, free: 0.7852 MB / 350.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded_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_Rotational_Examples_FirstGrounded.fmu > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.76284676999785]