Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.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.001722/0.001722, allocations: 114.1 kB / 18.45 MB, free: 4.605 MB / 14.72 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.00159/0.00159, allocations: 208.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.493/1.493, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2753/0.2753, allocations: 46.93 MB / 357.8 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Blocks.KinematicPTP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|integrator.y|integrator1.y|integrator2.y|integrator3.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP") translateModel(ModelicaTest.Blocks.KinematicPTP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|integrator.y|integrator1.y|integrator2.y|integrator3.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 63.89 kB / 0.4921 GB, free: 7.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.137, allocations: 65.99 MB / 0.5565 GB, free: 5.375 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.004092/0.1411, allocations: 2.43 MB / 0.5589 GB, free: 2.926 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001971/0.1431, allocations: 0.9785 MB / 0.5598 GB, free: 1.941 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001982/0.1433, allocations: 15.81 kB / 0.5598 GB, free: 1.926 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003929/0.1437, allocations: 119.2 kB / 0.56 GB, free: 1.809 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002339/0.1439, allocations: 103.4 kB / 0.5601 GB, free: 1.707 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006954/0.1446, allocations: 287.5 kB / 0.5603 GB, free: 1.426 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007741/0.1454, allocations: 0.7171 MB / 0.561 GB, free: 0.707 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.1455, allocations: 53.05 kB / 0.5611 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003539/0.1459, allocations: 303 kB / 0.5614 GB, free: 364 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004159/0.1463, allocations: 342.7 kB / 0.5617 GB, free: 20 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001151/0.1464, allocations: 60.05 kB / 0.5618 GB, free: 15.96 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.708e-05/0.1465, allocations: 64 kB / 0.5618 GB, free: 15.89 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000202/0.1467, allocations: 187.4 kB / 0.562 GB, free: 15.71 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002239/0.1469, allocations: 238.7 kB / 0.5622 GB, free: 15.48 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000621/0.1475, allocations: 0.5603 MB / 0.5628 GB, free: 14.92 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1476, allocations: 0 / 0.5628 GB, free: 14.92 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1476, allocations: 0 / 0.5628 GB, free: 14.92 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.1476, allocations: 0 / 0.5628 GB, free: 14.92 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002492/0.1501, allocations: 0.9543 MB / 0.5637 GB, free: 13.91 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.1501, allocations: 8.031 kB / 0.5637 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001414/0.1502, allocations: 68.61 kB / 0.5638 GB, free: 13.84 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006666/0.1509, allocations: 383.3 kB / 0.5641 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004031/0.1513, allocations: 263.7 kB / 0.5644 GB, free: 13.13 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.1514, allocations: 44.36 kB / 0.5644 GB, free: 13.09 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002205/0.1536, allocations: 0.8086 MB / 0.5652 GB, free: 12.24 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.521e-05/0.1536, allocations: 8 kB / 0.5652 GB, free: 12.23 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-05/0.1537, allocations: 16 kB / 0.5653 GB, free: 12.21 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.1537, allocations: 11.98 kB / 0.5653 GB, free: 12.2 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00379/0.1575, allocations: 1.204 MB / 0.5664 GB, free: 11 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003196/0.1607, allocations: 2.024 MB / 0.5684 GB, free: 8.891 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003157/0.1639, allocations: 0.7776 MB / 0.5692 GB, free: 8.098 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001575/0.1654, allocations: 458.4 kB / 0.5696 GB, free: 7.645 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.014e-05/0.1655, allocations: 7.984 kB / 0.5696 GB, free: 7.637 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/0.1656, allocations: 46.5 kB / 0.5697 GB, free: 7.582 MB / 430.1 MB Notification: Performance of pre-optimization done (n=64): time 3.316e-06/0.1656, allocations: 0 / 0.5697 GB, free: 7.582 MB / 430.1 MB Notification: Performance of matching and sorting (n=120): time 0.09231/0.2579, allocations: 15.77 MB / 0.5851 GB, free: 7.641 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.111e-05/0.258, allocations: 94.22 kB / 0.5852 GB, free: 7.527 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005459/0.2585, allocations: 389.4 kB / 0.5855 GB, free: 7.137 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002054/0.2587, allocations: 49.7 kB / 0.5856 GB, free: 7.082 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/0.2589, allocations: 225.5 kB / 0.5858 GB, free: 6.855 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000466/0.2594, allocations: 424.3 kB / 0.5862 GB, free: 6.438 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006136/0.26, allocations: 202.8 kB / 0.5864 GB, free: 6.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001918/0.2602, allocations: 374.8 kB / 0.5867 GB, free: 5.855 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00392/0.2641, allocations: 1.342 MB / 0.5881 GB, free: 4.516 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004064/0.2682, allocations: 1.497 MB / 0.5895 GB, free: 2.973 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007229/0.2754, allocations: 2.441 MB / 0.5919 GB, free: 496 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.2754, allocations: 0 / 0.5919 GB, free: 496 kB / 446.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.3167/0.5921, allocations: 2.824 MB / 0.5947 GB, free: 37.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.42e-05/0.5922, allocations: 8.969 kB / 0.5947 GB, free: 37.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.5922, allocations: 3.5 kB / 0.5947 GB, free: 37.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.589e-05/0.5922, allocations: 8.5 kB / 0.5947 GB, free: 37.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002979/0.5952, allocations: 408.1 kB / 0.5951 GB, free: 37.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-05/0.5952, allocations: 15.58 kB / 0.5951 GB, free: 37.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002395/0.5976, allocations: 216.5 kB / 0.5953 GB, free: 37.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002372/0.5979, allocations: 42.62 kB / 0.5953 GB, free: 37.3 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 10 (kinematicPTP2a.noWphase,kinematicPTP2b.noWphase,kinematicPTP2b.moving[1],kinematicPTP1a.noWphase,kinematicPTP1b.noWphase,kinematicPTP1b.moving[1],integrator3.local_reset,integrator2.local_reset,integrator1.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 148 * 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.0006503/0.5985, allocations: 241.8 kB / 0.5956 GB, free: 37.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004118/0.5989, allocations: 64.94 kB / 0.5956 GB, free: 37.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003635/0.5993, allocations: 108.7 kB / 0.5957 GB, free: 37.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-05/0.5993, allocations: 12.28 kB / 0.5957 GB, free: 37.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.68e-05/0.5993, allocations: 4.734 kB / 0.5957 GB, free: 37.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.621e-05/0.5994, allocations: 7.031 kB / 0.5957 GB, free: 37.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01424/0.6136, allocations: 5.23 MB / 0.6009 GB, free: 34.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.485e-05/0.6137, allocations: 21.25 kB / 0.6009 GB, free: 34.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001909/0.6156, allocations: 354 kB / 0.6012 GB, free: 34.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.251e-05/0.6157, allocations: 27.53 kB / 0.6012 GB, free: 34.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001913/0.6158, allocations: 51.47 kB / 0.6013 GB, free: 34.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.233e-05/0.6159, allocations: 43.47 kB / 0.6013 GB, free: 34.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.976e-05/0.6159, allocations: 35.69 kB / 0.6014 GB, free: 34.92 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008613/0.6246, allocations: 3.094 MB / 0.6044 GB, free: 33.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006384/0.6252, allocations: 238.4 kB / 0.6046 GB, free: 33 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002743/0.6255, allocations: 52.27 kB / 0.6047 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001708/0.6272, allocations: 192.4 kB / 0.6048 GB, free: 32.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005756/0.6278, allocations: 217.5 kB / 0.6051 GB, free: 32.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001592/0.6279, allocations: 57.17 kB / 0.6051 GB, free: 32.86 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003897/0.6283, allocations: 263.4 kB / 0.6054 GB, free: 32.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.6283, allocations: 0 / 0.6054 GB, free: 32.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001455/0.6298, allocations: 231.4 kB / 0.6056 GB, free: 32.7 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 94 * Number of states: 4 (integrator2.y,integrator3.y,integrator.y,integrator1.y) * Number of discrete variables: 6 (kinematicPTP2b.moving[1],kinematicPTP1b.moving[1],kinematicPTP2b.noWphase,kinematicPTP2a.noWphase,kinematicPTP1b.noWphase,kinematicPTP1a.noWphase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 120 * 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.0003283/0.6301, allocations: 163.9 kB / 0.6057 GB, free: 32.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007308/0.6374, allocations: 2.172 MB / 0.6079 GB, free: 31.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.92e-05/0.6374, allocations: 4.094 kB / 0.6079 GB, free: 31.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003734/0.6412, allocations: 1.048 MB / 0.6089 GB, free: 31.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002176/0.6433, allocations: 144.2 kB / 0.609 GB, free: 31.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004418/0.6478, allocations: 2.017 MB / 0.611 GB, free: 29.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006689/0.6484, allocations: 0.926 MB / 0.6119 GB, free: 29.24 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008413/0.6493, allocations: 78.14 kB / 0.612 GB, free: 29.23 MB / 446.1 MB Notification: Performance of SimCode: time 1.072e-06/0.6493, allocations: 0 / 0.612 GB, free: 29.23 MB / 446.1 MB Notification: Performance of Templates: time 0.02314/0.6724, allocations: 14.34 MB / 0.626 GB, free: 20.18 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/KinematicPTP/KinematicPTP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.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: 9.283256755006732]