Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.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.001484/0.001484, allocations: 96.27 kB / 20.96 MB, free: 3.582 MB / 18.57 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.001593/0.001593, allocations: 156.8 kB / 24.26 MB, free: 284 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.518/1.518, allocations: 177 MB / 204.5 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3532/0.3532, allocations: 34.25 MB / 295.2 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Rotational.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="ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs") translateModel(ModelicaTest.Rotational.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="ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 377.2 MB, free: 2.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.796e-05/2.959e-05, allocations: 4.984 kB / 377.2 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.008291/0.00832, allocations: 5.152 MB / 382.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005266/0.01359, allocations: 2.255 MB / 384.6 MB, free: 11.5 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001384/0.01497, allocations: 55.5 kB / 384.6 MB, free: 11.45 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008878/0.01586, allocations: 234 kB / 384.9 MB, free: 11.22 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001206/0.01706, allocations: 198.1 kB / 385.1 MB, free: 11.02 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00146/0.01852, allocations: 474.7 kB / 385.5 MB, free: 10.56 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001477/0.02, allocations: 1.137 MB / 386.7 MB, free: 9.414 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007676/0.02077, allocations: 390 kB / 387 MB, free: 9.008 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009005/0.02167, allocations: 0.5653 MB / 387.6 MB, free: 8.441 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004344/0.0221, allocations: 275.1 kB / 387.9 MB, free: 8.172 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001422/0.02225, allocations: 96 kB / 388 MB, free: 8.078 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003241/0.02257, allocations: 159.8 kB / 388.1 MB, free: 7.922 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002481/0.02282, allocations: 219.2 kB / 388.3 MB, free: 7.707 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004012/0.02322, allocations: 307.2 kB / 388.6 MB, free: 7.406 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001698/0.02492, allocations: 1.292 MB / 389.9 MB, free: 6.109 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.02492, allocations: 0 / 389.9 MB, free: 6.109 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.02492, allocations: 4 kB / 389.9 MB, free: 6.105 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.553e-05/0.02494, allocations: 3.938 kB / 389.9 MB, free: 6.102 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.001901/0.02684, allocations: 1.066 MB / 391 MB, free: 5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.02688, allocations: 11.97 kB / 391 MB, free: 4.988 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004235/0.0273, allocations: 188.3 kB / 391.2 MB, free: 4.805 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.02838, allocations: 0.5614 MB / 391.8 MB, free: 4.219 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.458e-05/0.02846, allocations: 70.12 kB / 391.8 MB, free: 4.152 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/0.0286, allocations: 92 kB / 391.9 MB, free: 4.062 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001967/0.03057, allocations: 0.8931 MB / 392.8 MB, free: 3.105 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.289e-05/0.03061, allocations: 11.95 kB / 392.8 MB, free: 3.094 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.956e-05/0.03069, allocations: 40 kB / 392.9 MB, free: 3.055 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.746e-05/0.03072, allocations: 24 kB / 392.9 MB, free: 3.031 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/0.03189, allocations: 0.5229 MB / 393.4 MB, free: 2.508 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004264/0.03615, allocations: 3.249 MB / 396.7 MB, free: 15.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006346/0.03679, allocations: 207.2 kB / 396.9 MB, free: 14.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/0.037, allocations: 88.83 kB / 396.9 MB, free: 14.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001245/0.03712, allocations: 19.98 kB / 397 MB, free: 14.8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.03715, allocations: 38.5 kB / 397 MB, free: 14.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 1.713e-06/0.03716, allocations: 0 / 397 MB, free: 14.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=35): time 0.002759/0.03992, allocations: 1.174 MB / 398.2 MB, free: 13.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/0.03997, allocations: 55.41 kB / 398.2 MB, free: 13.45 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005304/0.0405, allocations: 417.7 kB / 398.6 MB, free: 13.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.544e-05/0.04054, allocations: 33.7 kB / 398.7 MB, free: 13 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004059/0.04094, allocations: 475.5 kB / 399.1 MB, free: 12.53 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003605/0.0413, allocations: 134.9 kB / 399.3 MB, free: 12.39 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/0.04146, allocations: 106.3 kB / 399.4 MB, free: 12.29 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00022/0.04168, allocations: 362.7 kB / 399.7 MB, free: 11.92 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002531/0.04193, allocations: 117.2 kB / 399.8 MB, free: 11.81 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004292/0.04236, allocations: 311.2 kB / 400.1 MB, free: 11.42 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007261/0.04308, allocations: 459.6 kB / 400.6 MB, free: 10.88 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.04309, allocations: 0 / 400.6 MB, free: 10.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0009934/0.04408, allocations: 0.5368 MB / 401.1 MB, free: 10.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.0441, allocations: 16.09 kB / 401.1 MB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.04412, allocations: 8 kB / 401.2 MB, free: 10.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002223/0.04434, allocations: 36.84 kB / 401.2 MB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004225/0.04477, allocations: 123.8 kB / 401.3 MB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005451/0.04531, allocations: 0.5601 MB / 401.9 MB, free: 9.566 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/0.04553, allocations: 24 kB / 401.9 MB, free: 9.543 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.173e-05/0.04559, allocations: 27.98 kB / 401.9 MB, free: 9.516 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (68): * Single equations (assignments): 67 * 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.0003978/0.04598, allocations: 229.6 kB / 402.1 MB, free: 9.281 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.04609, allocations: 67.73 kB / 402.2 MB, free: 9.215 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007234/0.04682, allocations: 326.9 kB / 402.5 MB, free: 8.883 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.04682, allocations: 4 kB / 402.5 MB, free: 8.879 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.04683, allocations: 0 / 402.5 MB, free: 8.879 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.04684, allocations: 3.984 kB / 402.5 MB, free: 8.875 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001536/0.04837, allocations: 0.891 MB / 403.4 MB, free: 7.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.04838, allocations: 0 / 403.4 MB, free: 7.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000389/0.04877, allocations: 75.97 kB / 403.5 MB, free: 7.855 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001343/0.0489, allocations: 40.8 kB / 403.5 MB, free: 7.812 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.557e-05/0.04893, allocations: 8 kB / 403.6 MB, free: 7.805 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004644/0.04939, allocations: 0.5523 MB / 404.1 MB, free: 7.227 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.04939, allocations: 4.031 kB / 404.1 MB, free: 7.223 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009348/0.05033, allocations: 0.5565 MB / 404.7 MB, free: 6.629 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.435e-05/0.0504, allocations: 47.59 kB / 404.7 MB, free: 6.582 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.062e-05/0.05045, allocations: 8.094 kB / 404.7 MB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.05062, allocations: 11.94 kB / 404.7 MB, free: 6.562 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.018e-05/0.0507, allocations: 27.95 kB / 404.8 MB, free: 6.535 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.813e-05/0.05072, allocations: 12 kB / 404.8 MB, free: 6.523 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003388/0.05106, allocations: 271.1 kB / 405 MB, free: 6.266 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05106, allocations: 0 / 405 MB, free: 6.266 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000596/0.05166, allocations: 127.9 kB / 405.2 MB, free: 6.141 MB / 378.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.y,inertia2b.w,torqueToAngle2b.y,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.0002056/0.05186, allocations: 119.2 kB / 405.3 MB, free: 6.016 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007001/0.05256, allocations: 314 kB / 405.6 MB, free: 5.711 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.05257, allocations: 7.875 kB / 405.6 MB, free: 5.703 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002979/0.05286, allocations: 136.5 kB / 405.7 MB, free: 5.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005668/0.05343, allocations: 88.94 kB / 405.8 MB, free: 5.484 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002962/0.05639, allocations: 1.482 MB / 407.3 MB, free: 3.949 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004645/0.05686, allocations: 364.1 kB / 407.7 MB, free: 3.57 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001962/0.05705, allocations: 64.47 kB / 407.7 MB, free: 3.504 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.572e-05/0.05715, allocations: 44.5 kB / 407.8 MB, free: 3.461 MB / 378.7 MB Notification: Performance of SimCode: time 6.71e-07/0.05715, allocations: 0 / 407.8 MB, free: 3.461 MB / 378.7 MB Notification: Performance of Templates: time 0.01122/0.06837, allocations: 3.949 MB / 411.7 MB, free: 15.59 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.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: 5.0352334609488025]