Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001503/0.001503, allocations: 114.5 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001637/0.001637, allocations: 211.4 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.436/1.436, allocations: 230.4 MB / 258.1 MB, free: 8.141 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-beta.om/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=1000,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_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") translateModel(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 67.84 kB / 378.7 MB, free: 2.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.22, allocations: 53.32 MB / 432.1 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.006122/0.2261, allocations: 4.615 MB / 436.7 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002203/0.2283, allocations: 1.415 MB / 438.1 MB, free: 1.301 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002535/0.2286, allocations: 23.81 kB / 438.1 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003677/0.229, allocations: 182.2 kB / 438.3 MB, free: 1.098 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000332/0.2293, allocations: 166.3 kB / 438.4 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007058/0.23, allocations: 387.3 kB / 438.8 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001003/0.231, allocations: 0.9781 MB / 439.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004453/0.2314, allocations: 287 kB / 440.1 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004013/0.2318, allocations: 334.6 kB / 440.4 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003883/0.2322, allocations: 353.9 kB / 440.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.564e-05/0.2323, allocations: 72 kB / 440.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001989/0.2325, allocations: 116 kB / 440.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001496/0.2327, allocations: 175.3 kB / 441.1 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003716/0.233, allocations: 429.5 kB / 441.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001109/0.2342, allocations: 1.114 MB / 442.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2342, allocations: 0 / 442.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2342, allocations: 4 kB / 442.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.2342, allocations: 0 / 442.6 MB, free: 12.7 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.001641/0.2358, allocations: 1.172 MB / 443.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.2358, allocations: 8.031 kB / 443.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002501/0.2361, allocations: 123.3 kB / 443.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009779/0.2371, allocations: 0.6311 MB / 444.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.78e-05/0.2371, allocations: 62 kB / 444.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.2372, allocations: 83.94 kB / 444.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/0.2385, allocations: 0.8443 MB / 445.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.045e-05/0.2386, allocations: 15.92 kB / 445.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.99e-05/0.2386, allocations: 35.94 kB / 445.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.335e-05/0.2387, allocations: 20 kB / 445.6 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009054/0.2396, allocations: 471.3 kB / 446.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003876/0.2434, allocations: 4.385 MB / 450.5 MB, free: 4.457 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005787/0.244, allocations: 295.8 kB / 450.8 MB, free: 4.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002361/0.2443, allocations: 129.6 kB / 450.9 MB, free: 4.031 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001861/0.2444, allocations: 182.5 kB / 451.1 MB, free: 3.816 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.2445, allocations: 30.94 kB / 451.1 MB, free: 3.777 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 1.724e-06/0.2445, allocations: 0 / 451.1 MB, free: 3.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.00333/0.2478, allocations: 1.751 MB / 452.9 MB, free: 1.934 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.2478, allocations: 55.97 kB / 452.9 MB, free: 1.867 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006093/0.2484, allocations: 0.5431 MB / 453.5 MB, free: 1.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.79e-05/0.2485, allocations: 33.7 kB / 453.5 MB, free: 1.281 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003569/0.2488, allocations: 495.7 kB / 454 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001666/0.249, allocations: 222.1 kB / 454.2 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/0.2492, allocations: 138.6 kB / 454.3 MB, free: 440 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.2494, allocations: 382.8 kB / 454.7 MB, free: 48 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003154/0.2497, allocations: 157.9 kB / 454.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005273/0.2502, allocations: 459.2 kB / 455.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008995/0.2511, allocations: 0.6712 MB / 456 MB, free: 14.51 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.2511, allocations: 0 / 456 MB, free: 14.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001165/0.2523, allocations: 0.7427 MB / 456.7 MB, free: 13.76 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.2523, allocations: 8 kB / 456.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.2523, allocations: 12.12 kB / 456.7 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001521/0.2525, allocations: 48.84 kB / 456.8 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005879/0.253, allocations: 183.7 kB / 457 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001445/0.2545, allocations: 1.685 MB / 458.6 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002775/0.2548, allocations: 28 kB / 458.7 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.804e-05/0.2548, allocations: 36 kB / 458.7 MB, free: 11.62 MB / 366.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.000279/0.2551, allocations: 225.6 kB / 458.9 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.2552, allocations: 83.53 kB / 459 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001314/0.2553, allocations: 79.06 kB / 459.1 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.2553, allocations: 0 / 459.1 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2553, allocations: 0 / 459.1 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.2555, allocations: 140.6 kB / 459.2 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.872e-05/0.2555, allocations: 12 kB / 459.2 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/0.2557, allocations: 15.94 kB / 459.3 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.551e-05/0.2558, allocations: 32.52 kB / 459.3 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001157/0.2569, allocations: 0.5581 MB / 459.8 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001081/0.258, allocations: 0.795 MB / 460.6 MB, free: 9.629 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002621/0.2583, allocations: 164.3 kB / 460.8 MB, free: 9.469 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000399/0.2587, allocations: 363 kB / 461.2 MB, free: 9.121 MB / 366.1 MB Notification: Performance of Backend: time 3.4e-07/0.2587, allocations: 0 / 461.2 MB, free: 9.121 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001091/0.2598, allocations: 0.5474 MB / 461.7 MB, free: 8.555 MB / 366.1 MB Notification: Performance of SimCode: time 0.002895/0.2627, allocations: 2.316 MB / 464 MB, free: 6.18 MB / 366.1 MB Notification: Performance of Templates: time 0.01371/0.2764, allocations: 6.79 MB / 470.8 MB, free: 15.42 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.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: 4.358478919137269]