Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.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.Translational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|directMass.mass.s|directMass.mass.v|mass2a.s|mass2a.v|mass2b.s|mass2b.v|mass3a.s|mass3a.v|mass3b.s|mass3b.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") translateModel(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|directMass.mass.s|directMass.mass.v|mass2a.s|mass2a.v|mass2b.s|mass2b.v|mass3a.s|mass3a.v|mass3b.s|mass3b.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 94.27 kB / 16.93 MB, free: 5.984 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.001233/0.001232, allocations: 178.3 kB / 17.82 MB, free: 5.652 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.671/1.671, allocations: 205.4 MB / 224 MB, free: 13.04 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.0004392/0.0004392, allocations: 8 kB / 280.7 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1152, allocations: 47.59 MB / 328.3 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.003908/0.1192, allocations: 3.786 MB / 332.1 MB, free: 280 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002457/0.1217, allocations: 1.327 MB / 333.4 MB, free: 14.94 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004331/0.1221, allocations: 23.81 kB / 333.5 MB, free: 14.92 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001707/0.1223, allocations: 75.25 kB / 333.5 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004781/0.1228, allocations: 211.3 kB / 333.7 MB, free: 14.64 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006389/0.1235, allocations: 243.7 kB / 334 MB, free: 14.4 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007655/0.1242, allocations: 0.6359 MB / 334.6 MB, free: 13.76 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004461/0.1247, allocations: 288.3 kB / 334.9 MB, free: 13.46 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002868/0.125, allocations: 250.8 kB / 335.1 MB, free: 13.22 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002892/0.1253, allocations: 274.2 kB / 335.4 MB, free: 12.95 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.186e-05/0.1254, allocations: 28 kB / 335.4 MB, free: 12.92 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001522/0.1255, allocations: 55.92 kB / 335.5 MB, free: 12.87 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.1256, allocations: 119.4 kB / 335.6 MB, free: 12.75 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.1258, allocations: 173.2 kB / 335.8 MB, free: 12.57 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006502/0.1264, allocations: 0.7521 MB / 336.5 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.1264, allocations: 0 / 336.5 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1264, allocations: 8 kB / 336.5 MB, free: 11.81 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.1265, allocations: 0 / 336.5 MB, free: 11.81 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.00131/0.1278, allocations: 0.9859 MB / 337.5 MB, free: 10.78 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.1278, allocations: 11.97 kB / 337.5 MB, free: 10.77 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001347/0.128, allocations: 102.8 kB / 337.6 MB, free: 10.66 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008297/0.1288, allocations: 0.5764 MB / 338.2 MB, free: 10.04 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.903e-05/0.1289, allocations: 62 kB / 338.3 MB, free: 9.98 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.129, allocations: 83.98 kB / 338.3 MB, free: 9.898 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/0.1302, allocations: 0.8326 MB / 339.2 MB, free: 8.961 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.42e-05/0.1303, allocations: 11.84 kB / 339.2 MB, free: 8.949 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.63e-05/0.1304, allocations: 36 kB / 339.2 MB, free: 8.914 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.777e-05/0.1304, allocations: 20 kB / 339.2 MB, free: 8.895 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00085/0.1312, allocations: 475.3 kB / 339.7 MB, free: 8.43 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004445/0.1357, allocations: 4.408 MB / 344.1 MB, free: 3.828 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006238/0.1363, allocations: 299.5 kB / 344.4 MB, free: 3.527 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003276/0.1367, allocations: 174.5 kB / 344.6 MB, free: 3.32 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.584e-05/0.1368, allocations: 42.88 kB / 344.6 MB, free: 3.27 MB / 286.1 MB Notification: Performance of pre-optimization done (n=46): time 2.345e-06/0.1368, allocations: 4 kB / 344.6 MB, free: 3.266 MB / 286.1 MB Notification: Performance of matching and sorting (n=57): time 0.003386/0.1402, allocations: 1.732 MB / 346.4 MB, free: 1.438 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.1402, allocations: 59.97 kB / 346.4 MB, free: 1.367 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000611/0.1408, allocations: 0.5352 MB / 347 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.646e-05/0.1409, allocations: 33.7 kB / 347 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003513/0.1412, allocations: 478.4 kB / 347.5 MB, free: 312 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001856/0.1414, allocations: 209 kB / 347.7 MB, free: 100 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.423e-05/0.1415, allocations: 20 kB / 347.7 MB, free: 80 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000268/0.1417, allocations: 382.8 kB / 348.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000265/0.142, allocations: 157.9 kB / 348.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000468/0.1425, allocations: 455.2 kB / 348.7 MB, free: 14.97 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003687/0.1429, allocations: 236.7 kB / 348.9 MB, free: 14.74 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1429, allocations: 0 / 348.9 MB, free: 14.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001204/0.1441, allocations: 0.7414 MB / 349.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.1441, allocations: 8.969 kB / 349.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/0.1441, allocations: 12 kB / 349.6 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001767/0.1443, allocations: 48.84 kB / 349.7 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006065/0.1449, allocations: 187.7 kB / 349.9 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001438/0.1464, allocations: 1.514 MB / 351.4 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002859/0.1467, allocations: 31.98 kB / 351.4 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.349e-05/0.1467, allocations: 36 kB / 351.5 MB, free: 12.02 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (101): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003155/0.1471, allocations: 233.5 kB / 351.7 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.889e-05/0.1472, allocations: 75.06 kB / 351.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001236/0.1473, allocations: 79.03 kB / 351.8 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.1473, allocations: 8.062 kB / 351.8 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.1473, allocations: 4 kB / 351.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.1473, allocations: 3.984 kB / 351.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001982/0.1493, allocations: 1.42 MB / 353.3 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.1493, allocations: 7.938 kB / 353.3 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004721/0.1498, allocations: 123.8 kB / 353.4 MB, free: 9.953 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.686e-05/0.1499, allocations: 20.86 kB / 353.4 MB, free: 9.93 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.414e-05/0.15, allocations: 16 kB / 353.4 MB, free: 9.914 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000983/0.1509, allocations: 1.28 MB / 354.7 MB, free: 8.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.151, allocations: 4 kB / 354.7 MB, free: 8.496 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/0.1522, allocations: 0.9083 MB / 355.6 MB, free: 7.473 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.1524, allocations: 136.2 kB / 355.8 MB, free: 7.32 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.169e-05/0.1524, allocations: 12 kB / 355.8 MB, free: 7.309 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/0.1527, allocations: 20 kB / 355.8 MB, free: 7.289 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.921e-05/0.1528, allocations: 39.94 kB / 355.8 MB, free: 7.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.234e-05/0.1528, allocations: 20.05 kB / 355.8 MB, free: 7.23 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000371/0.1532, allocations: 359 kB / 356.2 MB, free: 6.883 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1532, allocations: 0 / 356.2 MB, free: 6.883 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000629/0.1538, allocations: 140 kB / 356.3 MB, free: 6.746 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 10 (directMass.mass.s,directMass.mass.v,mass2a.s,mass2a.v,mass2b.s,mass2b.v,mass3a.s,mass3a.v,mass3b.s,mass3b.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 (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001528/0.154, allocations: 115.2 kB / 356.4 MB, free: 6.621 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008997/0.1549, allocations: 0.5954 MB / 357 MB, free: 6.012 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.1549, allocations: 0 / 357 MB, free: 6.012 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004289/0.1553, allocations: 308 kB / 357.3 MB, free: 5.699 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/0.1558, allocations: 86.48 kB / 357.4 MB, free: 5.617 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003066/0.1589, allocations: 2.301 MB / 359.7 MB, free: 3.25 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006459/0.1595, allocations: 0.9851 MB / 360.7 MB, free: 2.234 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002566/0.1598, allocations: 85.94 kB / 360.8 MB, free: 2.148 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.1599, allocations: 59.42 kB / 360.9 MB, free: 2.09 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1599, allocations: 0 / 360.9 MB, free: 2.09 MB / 302.1 MB Notification: Performance of Templates: time 0.01018/0.1701, allocations: 4.849 MB / 365.7 MB, free: 13.24 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches