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.00149/0.00149, allocations: 109.7 kB / 18.4 MB, free: 4.676 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.001748/0.001748, allocations: 187 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.284/1.284, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001222/0.001222, allocations: 47.92 kB / 329.2 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07328/0.07451, allocations: 46.62 MB / 375.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.1496/0.2241, allocations: 4.56 MB / 380.4 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002163/0.2263, allocations: 1.358 MB / 381.7 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002639/0.2266, allocations: 27.75 kB / 381.8 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003141/0.227, allocations: 179.5 kB / 381.9 MB, free: 9.59 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002735/0.2272, allocations: 172.2 kB / 382.1 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005878/0.2278, allocations: 365.5 kB / 382.5 MB, free: 9.488 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007806/0.2286, allocations: 0.9853 MB / 383.5 MB, free: 9.297 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005438/0.2292, allocations: 425.2 kB / 383.9 MB, free: 9.105 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003499/0.2295, allocations: 330.6 kB / 384.2 MB, free: 8.938 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002872/0.2298, allocations: 351.5 kB / 384.5 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.829e-05/0.2299, allocations: 72.22 kB / 384.6 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002008/0.2302, allocations: 116.2 kB / 384.7 MB, free: 8.719 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.2303, allocations: 170.9 kB / 384.9 MB, free: 8.602 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000269/0.2305, allocations: 430.8 kB / 385.3 MB, free: 8.309 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000903/0.2315, allocations: 1.102 MB / 386.4 MB, free: 7.875 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2315, allocations: 0 / 386.4 MB, free: 7.875 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2315, allocations: 0 / 386.4 MB, free: 7.875 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.2315, allocations: 0 / 386.4 MB, free: 7.875 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.001293/0.2328, allocations: 1.137 MB / 387.5 MB, free: 7.074 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.2328, allocations: 7.875 kB / 387.6 MB, free: 7.074 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.233, allocations: 101.8 kB / 387.6 MB, free: 7.023 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008325/0.2338, allocations: 0.6337 MB / 388.3 MB, free: 6.613 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.642e-05/0.2339, allocations: 57.41 kB / 388.3 MB, free: 6.59 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.995e-05/0.234, allocations: 86.39 kB / 388.4 MB, free: 6.559 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.2351, allocations: 0.842 MB / 389.3 MB, free: 6.004 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.332e-05/0.2352, allocations: 13.72 kB / 389.3 MB, free: 5.996 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.353e-05/0.2352, allocations: 39.03 kB / 389.3 MB, free: 5.969 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.784e-05/0.2353, allocations: 20.44 kB / 389.3 MB, free: 5.969 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008631/0.2361, allocations: 474.3 kB / 389.8 MB, free: 5.809 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00275/0.2389, allocations: 4.368 MB / 394.2 MB, free: 2.141 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005129/0.2394, allocations: 305.1 kB / 394.5 MB, free: 2.02 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002167/0.2396, allocations: 143.4 kB / 394.6 MB, free: 1.961 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001243/0.2398, allocations: 171.6 kB / 394.8 MB, free: 1.773 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.601e-05/0.2398, allocations: 48.81 kB / 394.8 MB, free: 1.719 MB / 318.1 MB Notification: Performance of pre-optimization done (n=46): time 1.773e-06/0.2398, allocations: 0 / 394.8 MB, free: 1.719 MB / 318.1 MB Notification: Performance of matching and sorting (n=57): time 0.002923/0.2427, allocations: 1.734 MB / 396.6 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.645e-05/0.2428, allocations: 57.31 kB / 396.6 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005134/0.2433, allocations: 0.5407 MB / 397.2 MB, free: 348 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.2433, allocations: 30.77 kB / 397.2 MB, free: 312 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002507/0.2436, allocations: 481.9 kB / 397.7 MB, free: 15.92 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.2437, allocations: 212.6 kB / 397.9 MB, free: 15.76 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001668/0.2439, allocations: 135.4 kB / 398 MB, free: 15.69 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.2441, allocations: 382.6 kB / 398.4 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002867/0.2443, allocations: 159.1 kB / 398.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004614/0.2448, allocations: 460.9 kB / 399 MB, free: 14.85 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008016/0.2456, allocations: 0.6623 MB / 399.6 MB, free: 14.29 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.2456, allocations: 3.125 kB / 399.6 MB, free: 14.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001115/0.2468, allocations: 0.7419 MB / 400.4 MB, free: 13.96 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.2468, allocations: 9.859 kB / 400.4 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.2468, allocations: 8.875 kB / 400.4 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001507/0.247, allocations: 48.17 kB / 400.4 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005703/0.2475, allocations: 184.9 kB / 400.6 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001288/0.2488, allocations: 1.694 MB / 402.3 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002914/0.2491, allocations: 25.97 kB / 402.3 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.037e-05/0.2492, allocations: 42.06 kB / 402.4 MB, free: 12.25 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.0002712/0.2495, allocations: 229.1 kB / 402.6 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.625e-05/0.2496, allocations: 74.7 kB / 402.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001425/0.2497, allocations: 75.83 kB / 402.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.2498, allocations: 2.906 kB / 402.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2498, allocations: 1.031 kB / 402.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.2499, allocations: 129.8 kB / 402.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.83e-05/0.2499, allocations: 16.2 kB / 402.9 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.2501, allocations: 16.03 kB / 402.9 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.439e-05/0.2502, allocations: 35.53 kB / 403 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001094/0.2513, allocations: 0.5501 MB / 403.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009913/0.2523, allocations: 0.7982 MB / 404.3 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002643/0.2526, allocations: 173.7 kB / 404.5 MB, free: 11.01 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004301/0.253, allocations: 364.4 kB / 404.8 MB, free: 10.85 MB / 334.1 MB Notification: Performance of Backend: time 4.71e-07/0.2531, allocations: 0 / 404.8 MB, free: 10.85 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001207/0.2543, allocations: 0.5535 MB / 405.4 MB, free: 10.54 MB / 334.1 MB Notification: Performance of SimCode: time 0.002745/0.257, allocations: 2.28 MB / 407.7 MB, free: 8.902 MB / 334.1 MB Notification: Performance of Templates: time 0.01214/0.2692, allocations: 6.418 MB / 414.1 MB, free: 6.309 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