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.001056/0.001056, allocations: 111.2 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001109/0.001109, allocations: 206.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 59.89 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2206, allocations: 50.54 MB / 409.9 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.005091/0.2257, allocations: 4.586 MB / 414.5 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001971/0.2277, allocations: 1.399 MB / 415.9 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002493/0.228, allocations: 19.88 kB / 415.9 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003468/0.2284, allocations: 186.2 kB / 416.1 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000305/0.2287, allocations: 170.3 kB / 416.3 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006345/0.2293, allocations: 371.5 kB / 416.6 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008416/0.2302, allocations: 0.9899 MB / 417.6 MB, free: 9.859 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005158/0.2307, allocations: 422.9 kB / 418 MB, free: 9.426 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003537/0.2311, allocations: 338.5 kB / 418.4 MB, free: 9.094 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003135/0.2314, allocations: 346 kB / 418.7 MB, free: 8.754 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.878e-05/0.2315, allocations: 72 kB / 418.8 MB, free: 8.684 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000177/0.2317, allocations: 116 kB / 418.9 MB, free: 8.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.2318, allocations: 183.2 kB / 419.1 MB, free: 8.391 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000285/0.2321, allocations: 421.5 kB / 419.5 MB, free: 7.977 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008945/0.233, allocations: 1.102 MB / 420.6 MB, free: 6.875 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.233, allocations: 0 / 420.6 MB, free: 6.875 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.233, allocations: 4 kB / 420.6 MB, free: 6.871 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.233, allocations: 0 / 420.6 MB, free: 6.871 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.001381/0.2344, allocations: 1.146 MB / 421.7 MB, free: 5.672 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.2344, allocations: 8.031 kB / 421.7 MB, free: 5.664 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002318/0.2347, allocations: 114.8 kB / 421.9 MB, free: 5.551 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008018/0.2355, allocations: 0.6345 MB / 422.5 MB, free: 4.871 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.507e-05/0.2355, allocations: 58 kB / 422.5 MB, free: 4.816 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.952e-05/0.2357, allocations: 83.91 kB / 422.6 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/0.2369, allocations: 0.8481 MB / 423.5 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.159e-05/0.2369, allocations: 11.84 kB / 423.5 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.438e-05/0.237, allocations: 32 kB / 423.5 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/0.237, allocations: 20 kB / 423.5 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008393/0.2378, allocations: 471.3 kB / 424 MB, free: 3.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00319/0.241, allocations: 4.377 MB / 428.4 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005342/0.2416, allocations: 303.5 kB / 428.7 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002237/0.2418, allocations: 137.6 kB / 428.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001614/0.242, allocations: 182.6 kB / 429 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.242, allocations: 34.88 kB / 429 MB, free: 13.97 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 3.086e-06/0.242, allocations: 0 / 429 MB, free: 13.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.003055/0.2451, allocations: 1.734 MB / 430.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.2451, allocations: 55.97 kB / 430.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005381/0.2457, allocations: 0.5469 MB / 431.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.2457, allocations: 33.7 kB / 431.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002721/0.246, allocations: 478.5 kB / 431.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.2461, allocations: 208.9 kB / 432.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/0.2463, allocations: 150.4 kB / 432.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.2465, allocations: 382.8 kB / 432.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000282/0.2467, allocations: 157.9 kB / 432.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004304/0.2472, allocations: 455.2 kB / 433.2 MB, free: 9.543 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000763/0.2479, allocations: 0.6711 MB / 433.9 MB, free: 8.742 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.248, allocations: 4 kB / 433.9 MB, free: 8.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.00107/0.249, allocations: 0.7337 MB / 434.6 MB, free: 7.992 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.2491, allocations: 8.969 kB / 434.6 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.2491, allocations: 12 kB / 434.6 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000145/0.2492, allocations: 52.78 kB / 434.7 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005685/0.2498, allocations: 183.7 kB / 434.8 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001342/0.2512, allocations: 1.689 MB / 436.5 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002738/0.2515, allocations: 24 kB / 436.6 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-05/0.2515, allocations: 40 kB / 436.6 MB, free: 5.84 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.0002673/0.2518, allocations: 241.4 kB / 436.8 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.708e-05/0.2519, allocations: 71.09 kB / 436.9 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001319/0.252, allocations: 79.14 kB / 437 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.252, allocations: 7.984 kB / 437 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.252, allocations: 0 / 437 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.111e-05/0.2521, allocations: 132.2 kB / 437.1 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.571e-05/0.2522, allocations: 12 kB / 437.1 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/0.2524, allocations: 12 kB / 437.1 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.163e-05/0.2525, allocations: 36.5 kB / 437.2 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001068/0.2535, allocations: 0.5502 MB / 437.7 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009994/0.2545, allocations: 0.7906 MB / 438.5 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002659/0.2548, allocations: 180.4 kB / 438.7 MB, free: 3.684 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003643/0.2552, allocations: 355.1 kB / 439 MB, free: 3.344 MB / 350.1 MB Notification: Performance of Backend: time 1.743e-06/0.2552, allocations: 0 / 439 MB, free: 3.344 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001051/0.2563, allocations: 0.5748 MB / 439.6 MB, free: 2.75 MB / 350.1 MB Notification: Performance of SimCode: time 0.002582/0.2589, allocations: 2.274 MB / 441.9 MB, free: 436 kB / 350.1 MB Notification: Performance of Templates: time 0.01173/0.2706, allocations: 6.463 MB / 448.3 MB, free: 9.988 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