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.001227/0.001228, allocations: 103.2 kB / 18.4 MB, free: 4.68 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.001226/0.001226, allocations: 191.3 kB / 19.34 MB, free: 3.754 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.319/1.319, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001169/0.001169, allocations: 51.92 kB / 329.2 MB, free: 3.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07137/0.07255, allocations: 46.61 MB / 375.8 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.005329/0.07791, allocations: 4.567 MB / 380.4 MB, free: 28 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1452/0.2231, allocations: 1.361 MB / 381.7 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002694/0.2234, allocations: 29.12 kB / 381.8 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003051/0.2238, allocations: 177.2 kB / 381.9 MB, free: 9.602 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000263/0.224, allocations: 160.2 kB / 382.1 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005716/0.2246, allocations: 369.8 kB / 382.5 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007399/0.2254, allocations: 0.9748 MB / 383.4 MB, free: 9.332 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005184/0.2259, allocations: 433.5 kB / 383.9 MB, free: 9.145 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003188/0.2262, allocations: 321.5 kB / 384.2 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002956/0.2265, allocations: 346.4 kB / 384.5 MB, free: 8.785 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.85e-05/0.2266, allocations: 75.88 kB / 384.6 MB, free: 8.781 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000189/0.2268, allocations: 120.8 kB / 384.7 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.2269, allocations: 171 kB / 384.9 MB, free: 8.645 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002493/0.2272, allocations: 426.1 kB / 385.3 MB, free: 8.355 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008272/0.228, allocations: 1.084 MB / 386.4 MB, free: 7.926 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.228, allocations: 0.75 kB / 386.4 MB, free: 7.926 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.228, allocations: 0 / 386.4 MB, free: 7.926 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.2281, allocations: 1.406 kB / 386.4 MB, free: 7.926 MB / 318.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.001264/0.2293, allocations: 1.137 MB / 387.5 MB, free: 7.125 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.2294, allocations: 7.562 kB / 387.5 MB, free: 7.125 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.2295, allocations: 103.4 kB / 387.6 MB, free: 7.074 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007992/0.2303, allocations: 0.6263 MB / 388.2 MB, free: 6.672 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.783e-05/0.2304, allocations: 65.09 kB / 388.3 MB, free: 6.641 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.224e-05/0.2305, allocations: 86.11 kB / 388.4 MB, free: 6.609 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.2316, allocations: 0.8456 MB / 389.2 MB, free: 6.051 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.358e-05/0.2316, allocations: 12.97 kB / 389.2 MB, free: 6.043 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.241e-05/0.2317, allocations: 33.78 kB / 389.3 MB, free: 6.02 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.896e-05/0.2317, allocations: 21.66 kB / 389.3 MB, free: 6.02 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008416/0.2326, allocations: 474 kB / 389.8 MB, free: 5.859 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002629/0.2352, allocations: 4.369 MB / 394.1 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000502/0.2357, allocations: 312.3 kB / 394.4 MB, free: 2.07 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002209/0.2359, allocations: 139.3 kB / 394.6 MB, free: 2.016 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001229/0.2361, allocations: 169 kB / 394.7 MB, free: 1.828 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/0.2361, allocations: 38.08 kB / 394.8 MB, free: 1.785 MB / 318.1 MB Notification: Performance of pre-optimization done (n=46): time 1.793e-06/0.2361, allocations: 0 / 394.8 MB, free: 1.785 MB / 318.1 MB Notification: Performance of matching and sorting (n=57): time 0.002867/0.239, allocations: 1.738 MB / 396.5 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.734e-05/0.239, allocations: 57.8 kB / 396.6 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005093/0.2395, allocations: 0.5396 MB / 397.1 MB, free: 412 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.2396, allocations: 36.2 kB / 397.1 MB, free: 372 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002255/0.2398, allocations: 476.8 kB / 397.6 MB, free: 15.98 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001493/0.24, allocations: 214.9 kB / 397.8 MB, free: 15.82 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001679/0.2401, allocations: 136.8 kB / 398 MB, free: 15.75 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.2403, allocations: 385.8 kB / 398.3 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002953/0.2406, allocations: 160 kB / 398.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000461/0.2411, allocations: 461.2 kB / 398.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007969/0.2419, allocations: 0.6693 MB / 399.6 MB, free: 14.33 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.2419, allocations: 3.375 kB / 399.6 MB, free: 14.33 MB / 334.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001115/0.243, allocations: 0.7423 MB / 400.4 MB, free: 14 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.243, allocations: 9.688 kB / 400.4 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.243, allocations: 8.719 kB / 400.4 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001501/0.2432, allocations: 48.55 kB / 400.4 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005537/0.2438, allocations: 177.7 kB / 400.6 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001234/0.245, allocations: 1.7 MB / 402.3 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002791/0.2453, allocations: 26.62 kB / 402.3 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.563e-05/0.2454, allocations: 42.06 kB / 402.4 MB, free: 12.3 MB / 334.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 (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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002578/0.2456, allocations: 229.6 kB / 402.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.288e-05/0.2457, allocations: 73.89 kB / 402.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001168/0.2458, allocations: 76.06 kB / 402.7 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.2459, allocations: 4.688 kB / 402.7 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2459, allocations: 0 / 402.7 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.463e-05/0.246, allocations: 130.8 kB / 402.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.329e-05/0.246, allocations: 10.34 kB / 402.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.2462, allocations: 11.83 kB / 402.9 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.885e-05/0.2463, allocations: 36.42 kB / 402.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001062/0.2473, allocations: 0.5547 MB / 403.5 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001015/0.2484, allocations: 0.7986 MB / 404.3 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002568/0.2486, allocations: 168.7 kB / 404.4 MB, free: 11.07 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003768/0.249, allocations: 364.2 kB / 404.8 MB, free: 10.9 MB / 334.1 MB Notification: Performance of Backend: time 5.21e-07/0.249, allocations: 0 / 404.8 MB, free: 10.9 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.2501, allocations: 0.5575 MB / 405.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of SimCode: time 0.00267/0.2528, allocations: 2.268 MB / 407.6 MB, free: 8.965 MB / 334.1 MB Notification: Performance of Templates: time 0.01208/0.2649, allocations: 6.251 MB / 413.9 MB, free: 6.492 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile (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) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches