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.001449/0.001449, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001597/0.001597, allocations: 217.7 kB / 24.5 MB, free: 4.133 MB / 14.72 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.326/1.326, allocations: 230.5 MB / 258.1 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 179] 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.2079/0.2079, allocations: 46.93 MB / 361.5 MB, free: 4.188 MB / 286.1 MB " [Timeout remaining time 180] 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 0.002159/0.002159, allocations: 79.88 kB / 0.4974 GB, free: 7.273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2762, allocations: 66.08 MB / 0.5619 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.006908/0.2831, allocations: 5.828 MB / 0.5676 GB, free: 14.36 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003489/0.2866, allocations: 2.376 MB / 0.57 GB, free: 11.97 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003774/0.2869, allocations: 55.56 kB / 0.57 GB, free: 11.92 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004451/0.2874, allocations: 230 kB / 0.5702 GB, free: 11.69 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003191/0.2877, allocations: 182.3 kB / 0.5704 GB, free: 11.51 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009188/0.2886, allocations: 0.4907 MB / 0.5709 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001044/0.2897, allocations: 1.118 MB / 0.572 GB, free: 9.895 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005925/0.2902, allocations: 429.8 kB / 0.5724 GB, free: 9.457 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004257/0.2907, allocations: 382.7 kB / 0.5727 GB, free: 9.082 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000429/0.2911, allocations: 398 kB / 0.5731 GB, free: 8.691 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.2912, allocations: 100 kB / 0.5732 GB, free: 8.594 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002327/0.2914, allocations: 156 kB / 0.5734 GB, free: 8.441 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001892/0.2916, allocations: 219.2 kB / 0.5736 GB, free: 8.227 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003884/0.292, allocations: 469.6 kB / 0.574 GB, free: 7.766 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001213/0.2932, allocations: 1.282 MB / 0.5753 GB, free: 6.484 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.2932, allocations: 0 / 0.5753 GB, free: 6.484 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2932, allocations: 0 / 0.5753 GB, free: 6.484 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.2933, allocations: 3.938 kB / 0.5753 GB, free: 6.48 MB / 414.1 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.001416/0.2947, allocations: 1.085 MB / 0.5763 GB, free: 5.363 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/0.2947, allocations: 8.031 kB / 0.5764 GB, free: 5.355 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002392/0.2949, allocations: 120.2 kB / 0.5765 GB, free: 5.238 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000859/0.2958, allocations: 0.5264 MB / 0.577 GB, free: 4.684 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.285e-05/0.2959, allocations: 69.98 kB / 0.577 GB, free: 4.613 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.296, allocations: 87.95 kB / 0.5771 GB, free: 4.527 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/0.2973, allocations: 0.8892 MB / 0.578 GB, free: 3.578 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.38e-05/0.2974, allocations: 7.984 kB / 0.578 GB, free: 3.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.263e-05/0.2974, allocations: 36 kB / 0.578 GB, free: 3.535 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.466e-05/0.2974, allocations: 24 kB / 0.5781 GB, free: 3.512 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009563/0.2984, allocations: 0.5229 MB / 0.5786 GB, free: 2.984 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003463/0.3019, allocations: 3.509 MB / 0.582 GB, free: 15.33 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005032/0.3024, allocations: 206.6 kB / 0.5822 GB, free: 15.11 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/0.3025, allocations: 96.81 kB / 0.5823 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.252e-05/0.3026, allocations: 27.97 kB / 0.5823 GB, free: 14.99 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.3027, allocations: 38.56 kB / 0.5824 GB, free: 14.94 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 1.393e-06/0.3027, allocations: 0 / 0.5824 GB, free: 14.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.002135/0.3048, allocations: 1.154 MB / 0.5835 GB, free: 13.73 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.3048, allocations: 59.34 kB / 0.5835 GB, free: 13.66 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004127/0.3052, allocations: 409.8 kB / 0.5839 GB, free: 13.25 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.3053, allocations: 33.7 kB / 0.584 GB, free: 13.21 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003042/0.3056, allocations: 475.5 kB / 0.5844 GB, free: 12.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.3057, allocations: 142.8 kB / 0.5845 GB, free: 12.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.3058, allocations: 102.3 kB / 0.5846 GB, free: 12.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.306, allocations: 362.8 kB / 0.585 GB, free: 12.12 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/0.3062, allocations: 117.3 kB / 0.5851 GB, free: 12.01 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003393/0.3065, allocations: 299 kB / 0.5854 GB, free: 11.63 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000582/0.3071, allocations: 467.6 kB / 0.5858 GB, free: 11.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.3071, allocations: 0 / 0.5858 GB, free: 11.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007743/0.3079, allocations: 0.5167 MB / 0.5863 GB, free: 10.56 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.3079, allocations: 8 kB / 0.5863 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.3079, allocations: 8 kB / 0.5864 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001694/0.3081, allocations: 45.56 kB / 0.5864 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003521/0.3084, allocations: 123.8 kB / 0.5865 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003924/0.3088, allocations: 0.5601 MB / 0.5871 GB, free: 9.789 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.309, allocations: 19.98 kB / 0.5871 GB, free: 9.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.943e-05/0.309, allocations: 28 kB / 0.5871 GB, free: 9.742 MB / 430.1 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.0002649/0.3093, allocations: 231 kB / 0.5873 GB, free: 9.508 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.104e-05/0.3094, allocations: 55.67 kB / 0.5874 GB, free: 9.453 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005666/0.3099, allocations: 327 kB / 0.5877 GB, free: 9.125 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3099, allocations: 0 / 0.5877 GB, free: 9.125 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.3099, allocations: 4 kB / 0.5877 GB, free: 9.121 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.31, allocations: 3.984 kB / 0.5877 GB, free: 9.117 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001375/0.3113, allocations: 1.027 MB / 0.5887 GB, free: 8.023 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3113, allocations: 0 / 0.5887 GB, free: 8.023 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003374/0.3117, allocations: 75.91 kB / 0.5888 GB, free: 7.949 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001169/0.3118, allocations: 40.77 kB / 0.5888 GB, free: 7.906 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.3118, allocations: 11.94 kB / 0.5888 GB, free: 7.895 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003547/0.3122, allocations: 0.5447 MB / 0.5894 GB, free: 7.324 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.3122, allocations: 7.969 kB / 0.5894 GB, free: 7.316 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007914/0.313, allocations: 0.5524 MB / 0.5899 GB, free: 6.727 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.679e-05/0.313, allocations: 47.66 kB / 0.59 GB, free: 6.68 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.917e-05/0.3131, allocations: 12 kB / 0.59 GB, free: 6.668 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.3132, allocations: 4 kB / 0.59 GB, free: 6.664 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.7e-05/0.3133, allocations: 31.89 kB / 0.59 GB, free: 6.633 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.3133, allocations: 12 kB / 0.59 GB, free: 6.621 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002797/0.3136, allocations: 271.1 kB / 0.5903 GB, free: 6.359 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3136, allocations: 192 / 0.5903 GB, free: 6.359 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000481/0.3141, allocations: 127.9 kB / 0.5904 GB, free: 6.234 MB / 430.1 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.0001833/0.3142, allocations: 127.1 kB / 0.5905 GB, free: 6.098 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005942/0.3148, allocations: 316.8 kB / 0.5908 GB, free: 5.789 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.3148, allocations: 4 kB / 0.5908 GB, free: 5.785 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002463/0.3151, allocations: 129.3 kB / 0.5909 GB, free: 5.66 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000487/0.3156, allocations: 94.89 kB / 0.591 GB, free: 5.574 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002403/0.318, allocations: 1.68 MB / 0.5927 GB, free: 3.844 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005705/0.3185, allocations: 0.96 MB / 0.5936 GB, free: 2.859 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.548e-05/0.3186, allocations: 47.42 kB / 0.5937 GB, free: 2.812 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3186, allocations: 0 / 0.5937 GB, free: 2.812 MB / 430.1 MB Notification: Performance of Templates: time 0.01408/0.3327, allocations: 11.31 MB / 0.6047 GB, free: 7.5 MB / 446.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/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: 7.517607623944059]