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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008595/0.0008595, allocations: 91.61 kB / 22.18 MB, free: 2.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009197/0.0009197, allocations: 157.4 kB / 25.44 MB, free: 9.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8813/0.8813, allocations: 158.6 MB / 187.2 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 299.7 MB, free: 6.945 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.218e-05/2.375e-05, allocations: 10.22 kB / 299.7 MB, free: 6.934 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs): time 0.004126/0.00415, allocations: 4.808 MB / 304.5 MB, free: 2.094 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003103/0.007253, allocations: 2.033 MB / 306.5 MB, free: 48 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007452/0.007998, allocations: 51.67 kB / 306.6 MB, free: 15.99 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004582/0.008456, allocations: 214.1 kB / 306.8 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003918/0.008848, allocations: 182.3 kB / 307 MB, free: 15.61 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000739/0.009587, allocations: 394.9 kB / 307.4 MB, free: 15.22 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006823/0.01027, allocations: 1.036 MB / 308.4 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004311/0.0107, allocations: 385.6 kB / 308.8 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004053/0.01111, allocations: 0.5185 MB / 309.3 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002471/0.01135, allocations: 263.2 kB / 309.5 MB, free: 13.01 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.252e-05/0.01143, allocations: 92 kB / 309.6 MB, free: 12.92 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001658/0.01159, allocations: 151.8 kB / 309.8 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.01171, allocations: 211.2 kB / 310 MB, free: 12.56 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001699/0.01188, allocations: 291.3 kB / 310.3 MB, free: 12.28 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007889/0.01267, allocations: 1.188 MB / 311.5 MB, free: 11.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.01267, allocations: 0 / 311.5 MB, free: 11.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.01268, allocations: 0 / 311.5 MB, free: 11.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.01269, allocations: 0 / 311.5 MB, free: 11.09 MB / 298.7 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.000944/0.01363, allocations: 0.9726 MB / 312.4 MB, free: 10.08 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.01367, allocations: 11.98 kB / 312.4 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.822e-05/0.01377, allocations: 96.31 kB / 312.5 MB, free: 9.973 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008153/0.01458, allocations: 459.5 kB / 313 MB, free: 9.496 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.405e-05/0.01462, allocations: 66.38 kB / 313.1 MB, free: 9.434 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.193e-05/0.0147, allocations: 96.31 kB / 313.1 MB, free: 9.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008668/0.01557, allocations: 0.7972 MB / 313.9 MB, free: 8.504 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.01559, allocations: 192 / 313.9 MB, free: 8.504 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.186e-05/0.01563, allocations: 40.31 kB / 314 MB, free: 8.465 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.01565, allocations: 31.88 kB / 314 MB, free: 8.434 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006135/0.01626, allocations: 499.6 kB / 314.5 MB, free: 7.949 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00187/0.01813, allocations: 2.478 MB / 317 MB, free: 5.367 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003814/0.01851, allocations: 207.2 kB / 317.2 MB, free: 5.156 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.01862, allocations: 96.8 kB / 317.3 MB, free: 5.059 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.7e-05/0.0187, allocations: 15.98 kB / 317.3 MB, free: 5.043 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.01872, allocations: 38.56 kB / 317.3 MB, free: 4.996 MB / 298.7 MB Notification: Performance of pre-optimization done (n=30): time 1.693e-06/0.01873, allocations: 0 / 317.3 MB, free: 4.996 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.001453/0.02018, allocations: 1.126 MB / 318.5 MB, free: 3.812 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.02021, allocations: 55.41 kB / 318.5 MB, free: 3.746 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.02042, allocations: 308.4 kB / 318.8 MB, free: 3.434 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.02044, allocations: 29.7 kB / 318.8 MB, free: 3.398 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.0206, allocations: 407.8 kB / 319.2 MB, free: 2.996 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.809e-05/0.02067, allocations: 146.7 kB / 319.4 MB, free: 2.852 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.461e-05/0.02074, allocations: 78.2 kB / 319.5 MB, free: 2.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.864e-05/0.02084, allocations: 354.8 kB / 319.8 MB, free: 2.414 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.02097, allocations: 112.9 kB / 319.9 MB, free: 2.305 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000439/0.02141, allocations: 246.1 kB / 320.2 MB, free: 2 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003212/0.02173, allocations: 384.6 kB / 320.5 MB, free: 1.562 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.02173, allocations: 3.938 kB / 320.5 MB, free: 1.559 MB / 298.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0004466/0.02218, allocations: 469.1 kB / 321 MB, free: 1.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.0222, allocations: 4.594 kB / 321 MB, free: 1.086 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.02221, allocations: 12 kB / 321 MB, free: 1.074 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001416/0.02235, allocations: 36.84 kB / 321 MB, free: 1.035 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001892/0.02254, allocations: 115.8 kB / 321.2 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002624/0.0228, allocations: 0.5562 MB / 321.7 MB, free: 348 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.242e-05/0.02289, allocations: 19.94 kB / 321.7 MB, free: 328 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.538e-05/0.02292, allocations: 20 kB / 321.8 MB, free: 308 kB / 298.7 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.000182/0.0231, allocations: 209.8 kB / 322 MB, free: 88 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.634e-05/0.02314, allocations: 47.66 kB / 322 MB, free: 40 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003794/0.02352, allocations: 322.4 kB / 322.3 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.02352, allocations: 4 kB / 322.3 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.02352, allocations: 3.938 kB / 322.3 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.02353, allocations: 3.984 kB / 322.3 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007706/0.0243, allocations: 0.8434 MB / 323.2 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.0243, allocations: 8.031 kB / 323.2 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001891/0.02449, allocations: 83.83 kB / 323.3 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.309e-05/0.02457, allocations: 32.84 kB / 323.3 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.02458, allocations: 8 kB / 323.3 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001987/0.02478, allocations: 0.5484 MB / 323.9 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.02478, allocations: 7.969 kB / 323.9 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004556/0.02524, allocations: 0.5374 MB / 324.4 MB, free: 13.51 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.957e-05/0.02527, allocations: 35.83 kB / 324.4 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.774e-05/0.0253, allocations: 15.94 kB / 324.4 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.282e-05/0.02537, allocations: 11.98 kB / 324.5 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.177e-05/0.02541, allocations: 24.14 kB / 324.5 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.02542, allocations: 15.94 kB / 324.5 MB, free: 13.41 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001294/0.02555, allocations: 211.1 kB / 324.7 MB, free: 13.21 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02555, allocations: 0 / 324.7 MB, free: 13.21 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002869/0.02584, allocations: 119.9 kB / 324.8 MB, free: 13.09 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (directInertia.inertia.w,directInertia.torqueToAngle.phi,inertia2a.w,torqueToAngle2a.phi,inertia2b.w,torqueToAngle2b.phi,inertia3a.phi,inertia3a.w,inertia3b.phi,inertia3b.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * 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 Backend phase and start with SimCode phase: time 0.0001509/0.02599, allocations: 119.2 kB / 324.9 MB, free: 12.96 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003629/0.02635, allocations: 283.5 kB / 325.2 MB, free: 12.69 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.02636, allocations: 0 / 325.2 MB, free: 12.69 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.02649, allocations: 137 kB / 325.4 MB, free: 12.55 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.02681, allocations: 73.84 kB / 325.4 MB, free: 12.48 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.02825, allocations: 1.412 MB / 326.8 MB, free: 11.02 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004671/0.02871, allocations: 333.6 kB / 327.2 MB, free: 10.67 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.785e-05/0.02877, allocations: 40.5 kB / 327.2 MB, free: 10.63 MB / 314.7 MB Notification: Performance of SimCode: time 5.31e-07/0.02877, allocations: 3.938 kB / 327.2 MB, free: 10.63 MB / 314.7 MB Notification: Performance of Templates: time 0.007826/0.0366, allocations: 10.18 MB / 337.4 MB, free: 448 kB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.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.8011342734098434]