Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.SinCosEncoder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00169/0.00169, allocations: 103.2 kB / 19.61 MB, free: 2.461 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001878/0.001878, allocations: 194.1 kB / 22.75 MB, free: 5.723 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.545/1.545, allocations: 225.6 MB / 251.4 MB, free: 13.4 MB / 206.1 MB [Timeout remaining time 88] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Blocks.Examples.SinCosEncoder,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|integrator.y|der1.y|cosB.phi|cosBminus.phi|sinA.phi|sinAminus.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.SinCosEncoder") translateModel(Modelica.Blocks.Examples.SinCosEncoder,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|integrator.y|der1.y|cosB.phi|cosBminus.phi|sinA.phi|sinAminus.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.SinCosEncoder") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 47.92 kB / 369.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3271, allocations: 52.14 MB / 421.3 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SinCosEncoder): time 0.003558/0.3307, allocations: 2.212 MB / 423.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001248/0.3319, allocations: 0.7088 MB / 424.2 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.3321, allocations: 4 kB / 424.2 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002081/0.3323, allocations: 51.45 kB / 424.3 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001915/0.3325, allocations: 47.59 kB / 424.3 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002892/0.3328, allocations: 107.7 kB / 424.4 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003028/0.3331, allocations: 235.7 kB / 424.6 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000224/0.3333, allocations: 79.61 kB / 424.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001745/0.3335, allocations: 91.58 kB / 424.8 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001755/0.3336, allocations: 111.5 kB / 424.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.794e-05/0.3337, allocations: 20 kB / 424.9 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.641e-05/0.3338, allocations: 31.98 kB / 425 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.16e-05/0.3338, allocations: 63.77 kB / 425 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.334, allocations: 103.3 kB / 425.1 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003389/0.3343, allocations: 244.1 kB / 425.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3343, allocations: 0 / 425.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3343, allocations: 3.938 kB / 425.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.3343, allocations: 0 / 425.4 MB, free: 11.05 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009104/0.3352, allocations: 0.5571 MB / 425.9 MB, free: 10.44 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.3353, allocations: 11.89 kB / 425.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.895e-05/0.3353, allocations: 32.75 kB / 426 MB, free: 10.4 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003067/0.3356, allocations: 253.2 kB / 426.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.233e-05/0.3357, allocations: 20.81 kB / 426.2 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.626e-05/0.3357, allocations: 23.89 kB / 426.3 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005043/0.3362, allocations: 266.6 kB / 426.5 MB, free: 9.793 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.3362, allocations: 0 / 426.5 MB, free: 9.793 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.207e-05/0.3363, allocations: 4 kB / 426.5 MB, free: 9.789 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-05/0.3363, allocations: 12.44 kB / 426.5 MB, free: 9.773 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004592/0.3368, allocations: 193.5 kB / 426.7 MB, free: 9.586 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/0.338, allocations: 0.8265 MB / 427.6 MB, free: 8.703 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003692/0.3383, allocations: 166.5 kB / 427.7 MB, free: 8.531 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002207/0.3385, allocations: 101.2 kB / 427.8 MB, free: 8.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00011/0.3387, allocations: 88.98 kB / 427.9 MB, free: 8.324 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.3387, allocations: 38.56 kB / 427.9 MB, free: 8.277 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.232e-06/0.3387, allocations: 0 / 427.9 MB, free: 8.277 MB / 334.1 MB Notification: Performance of matching and sorting (n=23): time 0.001514/0.3402, allocations: 0.7258 MB / 428.7 MB, free: 7.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.3403, allocations: 55.41 kB / 428.7 MB, free: 7.434 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/0.3405, allocations: 209 kB / 428.9 MB, free: 7.219 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/0.3405, allocations: 33.7 kB / 429 MB, free: 7.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.3406, allocations: 148.5 kB / 429.1 MB, free: 7.031 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.496e-05/0.3407, allocations: 95.2 kB / 429.2 MB, free: 6.938 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.828e-05/0.3408, allocations: 45.7 kB / 429.2 MB, free: 6.887 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.3409, allocations: 346.8 kB / 429.6 MB, free: 6.539 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/0.3411, allocations: 79.94 kB / 429.7 MB, free: 6.461 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.3414, allocations: 127.3 kB / 429.8 MB, free: 6.324 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004153/0.3418, allocations: 224.8 kB / 430 MB, free: 6.094 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.3418, allocations: 0 / 430 MB, free: 6.094 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005414/0.3423, allocations: 273.3 kB / 430.3 MB, free: 5.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.3423, allocations: 11.98 kB / 430.3 MB, free: 5.809 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.3424, allocations: 4.062 kB / 430.3 MB, free: 5.805 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.3424, allocations: 4 kB / 430.3 MB, free: 5.801 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002855/0.3427, allocations: 60.02 kB / 430.3 MB, free: 5.742 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.3427, allocations: 3.938 kB / 430.4 MB, free: 5.738 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.3428, allocations: 19.92 kB / 430.4 MB, free: 5.719 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/0.3428, allocations: 12 kB / 430.4 MB, free: 5.707 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001388/0.343, allocations: 137.8 kB / 430.5 MB, free: 5.562 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.024e-05/0.343, allocations: 27.8 kB / 430.5 MB, free: 5.535 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006164/0.3436, allocations: 292.6 kB / 430.8 MB, free: 5.246 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.3436, allocations: 4 kB / 430.8 MB, free: 5.242 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.3436, allocations: 0 / 430.8 MB, free: 5.242 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.3436, allocations: 3.938 kB / 430.8 MB, free: 5.238 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.3448, allocations: 0.6832 MB / 431.5 MB, free: 4.496 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3448, allocations: 4.031 kB / 431.5 MB, free: 4.492 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002868/0.345, allocations: 59.91 kB / 431.6 MB, free: 4.434 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.3451, allocations: 3.938 kB / 431.6 MB, free: 4.43 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/0.3451, allocations: 11.98 kB / 431.6 MB, free: 4.418 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3451, allocations: 0 / 431.6 MB, free: 4.418 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3451, allocations: 0 / 431.6 MB, free: 4.418 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008178/0.3459, allocations: 493.4 kB / 432.1 MB, free: 3.914 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.346, allocations: 113 kB / 432.2 MB, free: 3.785 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.538e-05/0.346, allocations: 11.94 kB / 432.2 MB, free: 3.773 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.3462, allocations: 11.98 kB / 432.2 MB, free: 3.762 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.206e-05/0.3463, allocations: 15.98 kB / 432.2 MB, free: 3.746 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.3463, allocations: 11.98 kB / 432.2 MB, free: 3.734 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001422/0.3464, allocations: 156.5 kB / 432.4 MB, free: 3.586 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3464, allocations: 4 kB / 432.4 MB, free: 3.582 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003021/0.3467, allocations: 47.94 kB / 432.4 MB, free: 3.535 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (cosB.phi,cosBminus.phi,sinA.phi,sinAminus.phi,der1.u) * 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 (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001777/0.3469, allocations: 115.2 kB / 432.6 MB, free: 3.414 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005013/0.3474, allocations: 202.8 kB / 432.8 MB, free: 3.219 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3474, allocations: 0 / 432.8 MB, free: 3.219 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002534/0.3477, allocations: 124.5 kB / 432.9 MB, free: 3.098 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.348, allocations: 24.38 kB / 432.9 MB, free: 3.074 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.3492, allocations: 0.7341 MB / 433.6 MB, free: 2.305 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004019/0.3496, allocations: 0.7753 MB / 434.4 MB, free: 1.496 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.366e-05/0.3497, allocations: 23.44 kB / 434.4 MB, free: 1.473 MB / 334.1 MB Notification: Performance of SimCode: time 4e-07/0.3497, allocations: 0 / 434.4 MB, free: 1.473 MB / 334.1 MB Notification: Performance of Templates: time 0.005417/0.3551, allocations: 2.893 MB / 437.3 MB, free: 14.57 MB / 350.1 MB [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.SinCosEncoder.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.SinCosEncoder.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.SinCosEncoder.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.SinCosEncoder.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.SinCosEncoder.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.SinCosEncoder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.SinCosEncoder.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.SinCosEncoder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/SinCosEncoder/SinCosEncoder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.SinCosEncoder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches