Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001135/0.001135, allocations: 113.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001249/0.001249, allocations: 204 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 63.89 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2089, allocations: 50.53 MB / 409.9 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.005132/0.214, allocations: 4.593 MB / 414.5 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001929/0.216, allocations: 1.403 MB / 415.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002605/0.2162, allocations: 23.88 kB / 415.9 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003452/0.2166, allocations: 174.2 kB / 416.1 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002881/0.2169, allocations: 170.3 kB / 416.3 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006283/0.2175, allocations: 379.4 kB / 416.6 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008499/0.2184, allocations: 0.9899 MB / 417.6 MB, free: 9.824 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005028/0.2189, allocations: 418.9 kB / 418 MB, free: 9.395 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003479/0.2193, allocations: 338.5 kB / 418.4 MB, free: 9.062 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003101/0.2196, allocations: 342 kB / 418.7 MB, free: 8.727 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.317e-05/0.2197, allocations: 72 kB / 418.8 MB, free: 8.656 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000202/0.2199, allocations: 131.8 kB / 418.9 MB, free: 8.527 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.22, allocations: 175.3 kB / 419.1 MB, free: 8.355 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003053/0.2203, allocations: 429.5 kB / 419.5 MB, free: 7.934 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009418/0.2213, allocations: 1.104 MB / 420.6 MB, free: 6.824 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.2213, allocations: 4 kB / 420.6 MB, free: 6.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2213, allocations: 3.938 kB / 420.6 MB, free: 6.816 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.2213, allocations: 0 / 420.6 MB, free: 6.816 MB / 334.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.001411/0.2228, allocations: 1.168 MB / 421.8 MB, free: 5.594 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.2228, allocations: 8.031 kB / 421.8 MB, free: 5.586 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000242/0.223, allocations: 119.3 kB / 421.9 MB, free: 5.469 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008226/0.2239, allocations: 0.6311 MB / 422.5 MB, free: 4.793 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.12e-05/0.2239, allocations: 62 kB / 422.6 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.224, allocations: 83.95 kB / 422.7 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.2252, allocations: 0.8442 MB / 423.5 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.175e-05/0.2253, allocations: 7.938 kB / 423.5 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.981e-05/0.2253, allocations: 40 kB / 423.6 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.726e-05/0.2254, allocations: 20 kB / 423.6 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008866/0.2262, allocations: 475.3 kB / 424.1 MB, free: 3.164 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003267/0.2295, allocations: 4.381 MB / 428.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005447/0.2301, allocations: 295.5 kB / 428.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002294/0.2303, allocations: 153.5 kB / 428.9 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000156/0.2305, allocations: 162.6 kB / 429 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.2305, allocations: 42.88 kB / 429.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 1.804e-06/0.2305, allocations: 0 / 429.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.003072/0.2336, allocations: 1.747 MB / 430.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.2337, allocations: 59.97 kB / 430.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005415/0.2342, allocations: 0.547 MB / 431.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/0.2342, allocations: 37.7 kB / 431.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002849/0.2345, allocations: 483.8 kB / 431.9 MB, free: 10.9 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/0.2347, allocations: 226.1 kB / 432.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/0.2349, allocations: 142.6 kB / 432.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.235, allocations: 382.8 kB / 432.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002821/0.2353, allocations: 157.9 kB / 432.8 MB, free: 10 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004575/0.2358, allocations: 459.2 kB / 433.3 MB, free: 9.422 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007885/0.2366, allocations: 0.6673 MB / 433.9 MB, free: 8.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.2366, allocations: 0 / 433.9 MB, free: 8.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001097/0.2377, allocations: 0.7503 MB / 434.7 MB, free: 7.863 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.2377, allocations: 10.66 kB / 434.7 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.2377, allocations: 11.94 kB / 434.7 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001451/0.2379, allocations: 52.83 kB / 434.8 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005833/0.2385, allocations: 175.7 kB / 434.9 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001248/0.2397, allocations: 1.689 MB / 436.6 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000289/0.24, allocations: 31.98 kB / 436.7 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.512e-05/0.2401, allocations: 36.06 kB / 436.7 MB, free: 5.715 MB / 350.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.0002558/0.2403, allocations: 233.5 kB / 436.9 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.817e-05/0.2404, allocations: 79.47 kB / 437 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001167/0.2406, allocations: 71.08 kB / 437.1 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.2406, allocations: 3.984 kB / 437.1 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.2406, allocations: 0 / 437.1 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.545e-05/0.2407, allocations: 140.6 kB / 437.2 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.262e-05/0.2407, allocations: 12.19 kB / 437.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.2409, allocations: 16 kB / 437.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.384e-05/0.241, allocations: 36.5 kB / 437.3 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001097/0.2421, allocations: 0.5542 MB / 437.8 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009768/0.2431, allocations: 0.8027 MB / 438.6 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002576/0.2434, allocations: 168.4 kB / 438.8 MB, free: 3.555 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003523/0.2437, allocations: 371 kB / 439.2 MB, free: 3.199 MB / 350.1 MB Notification: Performance of Backend: time 3.51e-07/0.2437, allocations: 0 / 439.2 MB, free: 3.199 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001016/0.2448, allocations: 0.5555 MB / 439.7 MB, free: 2.625 MB / 350.1 MB Notification: Performance of SimCode: time 0.002508/0.2473, allocations: 2.31 MB / 442 MB, free: 268 kB / 350.1 MB Notification: Performance of Templates: time 0.01176/0.2591, allocations: 6.476 MB / 448.5 MB, free: 9.812 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches