Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.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.Rotational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") translateModel(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001456/0.001457, allocations: 108.4 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.001662/0.001662, allocations: 190.1 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.302/1.302, allocations: 205.1 MB / 225.2 MB, free: 12.28 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.001207/0.001207, allocations: 52.3 kB / 329.2 MB, free: 3.344 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07387/0.07509, allocations: 46.62 MB / 375.8 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs): time 0.1581/0.2333, allocations: 5.404 MB / 381.2 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003238/0.2365, allocations: 2.116 MB / 383.3 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008859/0.2374, allocations: 36.56 kB / 383.4 MB, free: 9.492 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004896/0.238, allocations: 206.3 kB / 383.6 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003991/0.2384, allocations: 170.3 kB / 383.7 MB, free: 9.305 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008509/0.2393, allocations: 388.7 kB / 384.1 MB, free: 9.266 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001033/0.2403, allocations: 1.017 MB / 385.1 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007071/0.241, allocations: 0.6077 MB / 385.8 MB, free: 8.457 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003284/0.2414, allocations: 341.8 kB / 386.1 MB, free: 8.289 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003598/0.2417, allocations: 365.1 kB / 386.4 MB, free: 8.09 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001095/0.2418, allocations: 92.56 kB / 386.5 MB, free: 8.09 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002406/0.2421, allocations: 148.5 kB / 386.7 MB, free: 8.07 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.2422, allocations: 199.3 kB / 386.9 MB, free: 7.938 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002825/0.2425, allocations: 431.1 kB / 387.3 MB, free: 7.66 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.2437, allocations: 1.182 MB / 388.5 MB, free: 7.211 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2437, allocations: 0.6562 kB / 388.5 MB, free: 7.211 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2437, allocations: 1.5 kB / 388.5 MB, free: 7.211 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.464e-05/0.2437, allocations: 0 / 388.5 MB, free: 7.211 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.001247/0.2449, allocations: 1.025 MB / 389.5 MB, free: 6.473 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.245, allocations: 9.062 kB / 389.5 MB, free: 6.473 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/0.2451, allocations: 95.84 kB / 389.6 MB, free: 6.422 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006821/0.2458, allocations: 0.5136 MB / 390.1 MB, free: 6.055 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.297e-05/0.2459, allocations: 64.22 kB / 390.2 MB, free: 6.023 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.246, allocations: 88.95 kB / 390.3 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/0.2472, allocations: 0.8049 MB / 391.1 MB, free: 5.594 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.333e-05/0.2473, allocations: 8.031 kB / 391.1 MB, free: 5.59 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.627e-05/0.2473, allocations: 36.69 kB / 391.1 MB, free: 5.562 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/0.2474, allocations: 20.88 kB / 391.1 MB, free: 5.562 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009119/0.2483, allocations: 0.4949 MB / 391.6 MB, free: 5.387 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002606/0.2509, allocations: 2.855 MB / 394.5 MB, free: 3.41 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005004/0.2514, allocations: 227 kB / 394.7 MB, free: 3.312 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.2516, allocations: 106.2 kB / 394.8 MB, free: 3.266 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000131/0.2517, allocations: 245.8 kB / 395.1 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.469e-05/0.2518, allocations: 37.58 kB / 395.1 MB, free: 2.941 MB / 318.1 MB Notification: Performance of pre-optimization done (n=30): time 1.803e-06/0.2518, allocations: 0 / 395.1 MB, free: 2.941 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.002044/0.2538, allocations: 1.261 MB / 396.4 MB, free: 2.082 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.601e-05/0.2538, allocations: 59 kB / 396.4 MB, free: 2.016 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002744/0.2541, allocations: 302.4 kB / 396.7 MB, free: 1.848 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.2541, allocations: 30.89 kB / 396.7 MB, free: 1.812 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/0.2543, allocations: 406.2 kB / 397.1 MB, free: 1.5 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.003e-05/0.2544, allocations: 137.5 kB / 397.3 MB, free: 1.395 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.753e-05/0.2545, allocations: 82.28 kB / 397.3 MB, free: 1.344 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.758e-05/0.2546, allocations: 352.6 kB / 397.7 MB, free: 1.012 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/0.2548, allocations: 106.7 kB / 397.8 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002367/0.255, allocations: 252.6 kB / 398 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000428/0.2554, allocations: 393.2 kB / 398.4 MB, free: 472 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2555, allocations: 1.094 kB / 398.4 MB, free: 472 kB / 318.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006602/0.2561, allocations: 459.1 kB / 398.9 MB, free: 260 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.2562, allocations: 7.031 kB / 398.9 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.2562, allocations: 8.406 kB / 398.9 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001785/0.2564, allocations: 38.28 kB / 398.9 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00036/0.2567, allocations: 111.4 kB / 399 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003376/0.2571, allocations: 0.5581 MB / 399.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.2573, allocations: 15.91 kB / 399.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.944e-05/0.2573, allocations: 22.98 kB / 399.6 MB, free: 15.67 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (60): * Single equations (assignments): 59 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002479/0.2576, allocations: 220.8 kB / 399.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.348e-05/0.2576, allocations: 33.39 kB / 399.9 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006114/0.2583, allocations: 335.4 kB / 400.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.2583, allocations: 2.062 kB / 400.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2583, allocations: 1.5 kB / 400.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.648e-05/0.2584, allocations: 101.4 kB / 400.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.787e-05/0.2584, allocations: 11.19 kB / 400.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.2586, allocations: 7.312 kB / 400.3 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.817e-05/0.2586, allocations: 18.61 kB / 400.3 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008651/0.2595, allocations: 436.5 kB / 400.8 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007516/0.2603, allocations: 0.5815 MB / 401.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001935/0.2605, allocations: 123.4 kB / 401.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001992/0.2607, allocations: 208.8 kB / 401.7 MB, free: 14.42 MB / 334.1 MB Notification: Performance of Backend: time 4.31e-07/0.2607, allocations: 0 / 401.7 MB, free: 14.42 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007821/0.2615, allocations: 322.7 kB / 402 MB, free: 14.28 MB / 334.1 MB Notification: Performance of SimCode: time 0.002371/0.2638, allocations: 2.009 MB / 404 MB, free: 12.79 MB / 334.1 MB Notification: Performance of Templates: time 0.009662/0.2735, allocations: 4.86 MB / 408.9 MB, free: 10.87 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches