Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.001267/0.001267, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001401/0.001401, allocations: 216.9 kB / 24.53 MB, free: 4.012 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.369/1.369, allocations: 230.5 MB / 258.2 MB, free: 8.035 MB / 206.1 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.2207/0.2207, allocations: 46.93 MB / 361.6 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002355/0.002355, allocations: 79.88 kB / 0.497 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2945, allocations: 66.08 MB / 0.5616 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003241/0.2977, allocations: 1.928 MB / 0.5635 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001861/0.2996, allocations: 1.153 MB / 0.5646 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.399e-05/0.2997, allocations: 7.938 kB / 0.5646 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004463/0.3001, allocations: 259.2 kB / 0.5648 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004276/0.3005, allocations: 235.2 kB / 0.5651 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002519/0.3008, allocations: 123.6 kB / 0.5652 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003169/0.3011, allocations: 267.3 kB / 0.5654 GB, free: 308 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.3012, allocations: 23.72 kB / 0.5655 GB, free: 284 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001883/0.3014, allocations: 143.5 kB / 0.5656 GB, free: 140 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002554/0.3016, allocations: 203.4 kB / 0.5658 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.3017, allocations: 8 kB / 0.5658 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001221/0.3018, allocations: 67.98 kB / 0.5659 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.261e-05/0.3019, allocations: 75.62 kB / 0.5659 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.468e-05/0.302, allocations: 91.23 kB / 0.566 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003158/0.3023, allocations: 258.7 kB / 0.5663 GB, free: 15.45 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3023, allocations: 0 / 0.5663 GB, free: 15.45 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.3023, allocations: 0 / 0.5663 GB, free: 15.45 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.3023, allocations: 0 / 0.5663 GB, free: 15.45 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007203/0.303, allocations: 0.5157 MB / 0.5668 GB, free: 14.9 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.3031, allocations: 12.03 kB / 0.5668 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.04e-05/0.3031, allocations: 4.188 kB / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.025e-05/0.3031, allocations: 42.73 kB / 0.5668 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.322e-05/0.3032, allocations: 36.69 kB / 0.5669 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000366/0.3036, allocations: 240.8 kB / 0.5671 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.3036, allocations: 8.359 kB / 0.5671 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.855e-05/0.3036, allocations: 12.38 kB / 0.5671 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002391/0.3038, allocations: 115.2 kB / 0.5672 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.3038, allocations: 4 kB / 0.5672 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.3039, allocations: 0 / 0.5672 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.3039, allocations: 4 kB / 0.5672 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.304, allocations: 47.91 kB / 0.5673 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005673/0.3046, allocations: 447.9 kB / 0.5677 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003662/0.3049, allocations: 121.2 kB / 0.5678 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.305, allocations: 41.83 kB / 0.5679 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.3051, allocations: 0 / 0.5679 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002411/0.3053, allocations: 133.1 kB / 0.568 GB, free: 13.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 9.91e-07/0.3053, allocations: 0 / 0.568 GB, free: 13.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001282/0.3066, allocations: 0.5164 MB / 0.5685 GB, free: 13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/0.3066, allocations: 81.11 kB / 0.5686 GB, free: 12.9 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000524/0.3072, allocations: 0.4938 MB / 0.5691 GB, free: 12.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.3072, allocations: 25.7 kB / 0.5691 GB, free: 12.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.3073, allocations: 172.5 kB / 0.5692 GB, free: 12.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.222e-05/0.3074, allocations: 67.42 kB / 0.5693 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.547e-05/0.3074, allocations: 49.64 kB / 0.5694 GB, free: 12.06 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3076, allocations: 350.8 kB / 0.5697 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.3077, allocations: 51.97 kB / 0.5697 GB, free: 11.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.3079, allocations: 92.72 kB / 0.5698 GB, free: 11.56 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002693/0.3081, allocations: 163.5 kB / 0.57 GB, free: 11.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3081, allocations: 0 / 0.57 GB, free: 11.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000395/0.3085, allocations: 233.3 kB / 0.5702 GB, free: 11.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.3085, allocations: 16 kB / 0.5702 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.3085, allocations: 0 / 0.5702 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.3086, allocations: 4 kB / 0.5702 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.3087, allocations: 43.92 kB / 0.5703 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.3087, allocations: 4 kB / 0.5703 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.121e-05/0.3088, allocations: 11.98 kB / 0.5703 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.3088, allocations: 4 kB / 0.5703 GB, free: 11.07 MB / 414.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: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001616/0.309, allocations: 178.2 kB / 0.5705 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.597e-05/0.309, allocations: 43.7 kB / 0.5705 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004989/0.3095, allocations: 269 kB / 0.5708 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.3095, allocations: 4 kB / 0.5708 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.3095, allocations: 0 / 0.5708 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.3095, allocations: 4 kB / 0.5708 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009137/0.3105, allocations: 0.7261 MB / 0.5715 GB, free: 9.777 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3105, allocations: 0 / 0.5715 GB, free: 9.777 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.356e-05/0.3105, allocations: 27.98 kB / 0.5715 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.3105, allocations: 0 / 0.5715 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.3106, allocations: 12 kB / 0.5715 GB, free: 9.738 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3106, allocations: 0 / 0.5715 GB, free: 9.738 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.3106, allocations: 7.938 kB / 0.5715 GB, free: 9.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004878/0.3111, allocations: 434 kB / 0.5719 GB, free: 9.277 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.962e-05/0.3111, allocations: 27.75 kB / 0.572 GB, free: 9.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.983e-05/0.3111, allocations: 8 kB / 0.572 GB, free: 9.242 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.3113, allocations: 11.98 kB / 0.572 GB, free: 9.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.239e-05/0.3113, allocations: 27.84 kB / 0.572 GB, free: 9.203 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.33e-05/0.3114, allocations: 12 kB / 0.572 GB, free: 9.191 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003567/0.3117, allocations: 375.1 kB / 0.5724 GB, free: 8.828 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3117, allocations: 0 / 0.5724 GB, free: 8.828 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003436/0.3121, allocations: 47.92 kB / 0.5724 GB, free: 8.781 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002515/0.3146, allocations: 1.352 MB / 0.5737 GB, free: 7.578 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00035/0.3149, allocations: 163.8 kB / 0.5739 GB, free: 7.418 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3149, allocations: 0 / 0.5739 GB, free: 7.418 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001578/0.3151, allocations: 71.84 kB / 0.574 GB, free: 7.348 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005471/0.3156, allocations: 66.52 kB / 0.574 GB, free: 7.293 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003642/0.3193, allocations: 2.999 MB / 0.577 GB, free: 4.168 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004242/0.3197, allocations: 0.7908 MB / 0.5777 GB, free: 3.352 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001179/0.3198, allocations: 41.92 kB / 0.5778 GB, free: 3.312 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.32, allocations: 103.3 kB / 0.5779 GB, free: 3.211 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.32, allocations: 4 kB / 0.5779 GB, free: 3.207 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02626/0.3462, allocations: 6.933 MB / 0.5846 GB, free: 12.32 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.23, allocations: 3.609 kB / 0.5846 GB, free: 12.32 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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: 14.180152950983029]