Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.OnDelay.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.001855/0.001855, allocations: 114.3 kB / 21.18 MB, free: 0.625 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.002246/0.002246, allocations: 214.9 kB / 24.48 MB, free: 4.031 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.417/1.417, allocations: 230.2 MB / 257.8 MB, free: 8.496 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.211/0.211, allocations: 46.9 MB / 361.1 MB, free: 4.652 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-beta.om/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.Blocks.OnDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5020,variableFilter="time|booleanTable.y|onDelay1.delaySignal|onDelay1.t_next|onDelay1.u|onDelay2.delaySignal|onDelay2.t_next|onDelay2.u|onDelay3.delaySignal|onDelay3.t_next|onDelay3.u",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.OnDelay") translateModel(ModelicaTest.Blocks.OnDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5020,variableFilter="time|booleanTable.y|onDelay1.delaySignal|onDelay1.t_next|onDelay1.u|onDelay2.delaySignal|onDelay2.t_next|onDelay2.u|onDelay3.delaySignal|onDelay3.t_next|onDelay3.u",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.OnDelay") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002236/0.002236, allocations: 75.88 kB / 0.4968 GB, free: 7.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2888, allocations: 65.99 MB / 0.5612 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.003364/0.2922, allocations: 1.934 MB / 0.5631 GB, free: 3.078 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002021/0.2942, allocations: 1.215 MB / 0.5643 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.64e-05/0.2943, allocations: 0 / 0.5643 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007059/0.295, allocations: 183.4 kB / 0.5644 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004252/0.2954, allocations: 171.3 kB / 0.5646 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003982/0.2958, allocations: 167.5 kB / 0.5648 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003481/0.2962, allocations: 275.3 kB / 0.565 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.2963, allocations: 21.67 kB / 0.5651 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.2964, allocations: 111.7 kB / 0.5652 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001844/0.2966, allocations: 127.5 kB / 0.5653 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.723e-05/0.2966, allocations: 20 kB / 0.5653 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001439/0.2968, allocations: 59.97 kB / 0.5654 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.771e-05/0.2969, allocations: 71.75 kB / 0.5654 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.297, allocations: 103.5 kB / 0.5655 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004048/0.2974, allocations: 293.6 kB / 0.5658 GB, free: 296 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2974, allocations: 0 / 0.5658 GB, free: 296 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.2974, allocations: 3.938 kB / 0.5658 GB, free: 292 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.2974, allocations: 0 / 0.5658 GB, free: 292 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.001092/0.2985, allocations: 0.6725 MB / 0.5665 GB, free: 15.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.2986, allocations: 12.03 kB / 0.5665 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.106e-05/0.2987, allocations: 32.8 kB / 0.5665 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003903/0.299, allocations: 279.8 kB / 0.5668 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/0.2992, allocations: 97.66 kB / 0.5669 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.211e-05/0.2992, allocations: 20.36 kB / 0.5669 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003413/0.2995, allocations: 161.1 kB / 0.567 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.2996, allocations: 0 / 0.567 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.2996, allocations: 8 kB / 0.567 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.2996, allocations: 4 kB / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002361/0.2998, allocations: 83.94 kB / 0.5671 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008975/0.3007, allocations: 0.6141 MB / 0.5677 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000354/0.3011, allocations: 156 kB / 0.5679 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001734/0.3012, allocations: 82.41 kB / 0.568 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.3013, allocations: 4 kB / 0.568 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005053/0.3018, allocations: 429.1 kB / 0.5684 GB, free: 13.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=23): time 1.823e-06/0.3018, allocations: 0 / 0.5684 GB, free: 13.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=23): time 0.0009182/0.3027, allocations: 442.4 kB / 0.5688 GB, free: 12.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/0.3028, allocations: 217.6 kB / 0.569 GB, free: 12.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003872/0.3032, allocations: 334.5 kB / 0.5693 GB, free: 12.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/0.3032, allocations: 33.7 kB / 0.5694 GB, free: 12.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.3034, allocations: 144.7 kB / 0.5695 GB, free: 12.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.676e-05/0.3034, allocations: 47.61 kB / 0.5695 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.421e-05/0.3035, allocations: 49.69 kB / 0.5696 GB, free: 12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.3037, allocations: 342.8 kB / 0.5699 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.3038, allocations: 59.95 kB / 0.57 GB, free: 11.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000279/0.3041, allocations: 138.3 kB / 0.5701 GB, free: 11.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004469/0.3045, allocations: 366.9 kB / 0.5704 GB, free: 11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.3045, allocations: 0 / 0.5704 GB, free: 11 MB / 414.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005628/0.3051, allocations: 358.8 kB / 0.5708 GB, free: 10.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.989e-05/0.3052, allocations: 95.44 kB / 0.5709 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.3052, allocations: 4 kB / 0.5709 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.3052, allocations: 7.938 kB / 0.5709 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.3053, allocations: 23.92 kB / 0.5709 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.3053, allocations: 0 / 0.5709 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.3055, allocations: 31.88 kB / 0.5709 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.3055, allocations: 8 kB / 0.571 GB, free: 10.44 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 29 ($PRE.onDelay1.u,$PRE.onDelay1.t_next,$PRE.onDelay3.u,$PRE.onDelay3.t_next,$PRE.onDelay2.u,$PRE.onDelay2.t_next,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition5,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,onDelay1.t_next,onDelay1.delaySignal,onDelay1.y,onDelay1.u,$whenCondition7,$whenCondition6,onDelay2.t_next,onDelay2.delaySignal,onDelay2.y,onDelay2.u,$whenCondition4,$whenCondition3,onDelay3.t_next,onDelay3.delaySignal,onDelay3.y,onDelay3.u,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 3 * 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.0003005/0.3058, allocations: 269.6 kB / 0.5712 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.206e-05/0.3059, allocations: 31.86 kB / 0.5712 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000375/0.3062, allocations: 201 kB / 0.5714 GB, free: 9.906 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3062, allocations: 0 / 0.5714 GB, free: 9.906 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3062, allocations: 3.938 kB / 0.5714 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.817e-05/0.3063, allocations: 104.9 kB / 0.5715 GB, free: 9.781 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.545e-05/0.3064, allocations: 12 kB / 0.5715 GB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.3065, allocations: 19.98 kB / 0.5716 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.221e-05/0.3066, allocations: 20.17 kB / 0.5716 GB, free: 9.73 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008945/0.3075, allocations: 0.7915 MB / 0.5724 GB, free: 8.875 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000927/0.3084, allocations: 0.7279 MB / 0.5731 GB, free: 8.113 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002123/0.3086, allocations: 91.94 kB / 0.5732 GB, free: 8.023 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000259/0.3089, allocations: 237.9 kB / 0.5734 GB, free: 7.789 MB / 414.1 MB Notification: Performance of Backend: time 8.02e-07/0.3089, allocations: 4 kB / 0.5734 GB, free: 7.785 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002357/0.3112, allocations: 0.6785 MB / 0.574 GB, free: 7.215 MB / 414.1 MB Notification: Performance of SimCode: time 0.001151/0.3124, allocations: 1.011 MB / 0.575 GB, free: 6.121 MB / 414.1 MB Notification: Performance of Templates: time 0.008512/0.3209, allocations: 3.83 MB / 0.5788 GB, free: 2.301 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.OnDelay.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.OnDelay.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.OnDelay.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.OnDelay.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.OnDelay.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.OnDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.OnDelay.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.OnDelay_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/OnDelay/OnDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.OnDelay.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.807014351710677]