Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.001833/0.001833, allocations: 73.33 kB / 21.24 MB, free: 0.5547 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.002298/0.002298, allocations: 159.5 kB / 24.5 MB, free: 3.715 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.517/1.517, allocations: 177.2 MB / 204.9 MB, free: 8.996 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001605, allocations: 47.19 kB / 325.6 MB, free: 260 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1117, allocations: 53.34 MB / 378.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.003264/0.115, allocations: 1.557 MB / 380.5 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004816/0.1155, allocations: 143.5 kB / 380.6 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.954e-05/0.1156, allocations: 3.938 kB / 380.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.996e-05/0.1156, allocations: 3.938 kB / 380.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001687/0.1158, allocations: 11.92 kB / 380.6 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.116, allocations: 31.91 kB / 380.7 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.1161, allocations: 35.86 kB / 380.7 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.1163, allocations: 11.98 kB / 380.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.578e-05/0.1163, allocations: 15.94 kB / 380.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.334e-05/0.1163, allocations: 15.92 kB / 380.7 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.1164, allocations: 4 kB / 380.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.749e-06/0.1164, allocations: 0 / 380.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.737e-05/0.1164, allocations: 11.92 kB / 380.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.803e-05/0.1165, allocations: 23.8 kB / 380.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.1166, allocations: 47.7 kB / 380.8 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1166, allocations: 0 / 380.8 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1166, allocations: 4 kB / 380.8 MB, free: 13.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.267e-06/0.1166, allocations: 0 / 380.8 MB, free: 13.72 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005299/0.1172, allocations: 294 kB / 381.1 MB, free: 13.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.1172, allocations: 12.03 kB / 381.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.727e-05/0.1173, allocations: 12.89 kB / 381.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002708/0.1175, allocations: 138.3 kB / 381.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.1175, allocations: 4.375 kB / 381.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.1176, allocations: 4.375 kB / 381.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003133/0.1179, allocations: 117.5 kB / 381.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.1179, allocations: 4.188 kB / 381.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.1179, allocations: 7.938 kB / 381.4 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.1179, allocations: 4 kB / 381.4 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.724e-05/0.118, allocations: 19.98 kB / 381.4 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003231/0.1183, allocations: 205.4 kB / 381.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.1185, allocations: 57.2 kB / 381.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.907e-05/0.1186, allocations: 25.77 kB / 381.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.1186, allocations: 7.875 kB / 381.7 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.1186, allocations: 38.56 kB / 381.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.1186, allocations: 0 / 381.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002783/0.1189, allocations: 77.56 kB / 381.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.562e-05/0.1189, allocations: 77.11 kB / 381.9 MB, free: 12.47 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.1191, allocations: 134.1 kB / 382 MB, free: 12.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.1191, allocations: 25.7 kB / 382.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.912e-05/0.1192, allocations: 88.12 kB / 382.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.504e-05/0.1192, allocations: 7.953 kB / 382.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.523e-05/0.1192, allocations: 17.84 kB / 382.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.1194, allocations: 318.8 kB / 382.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.322e-05/0.1194, allocations: 7.984 kB / 382.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.784e-05/0.1195, allocations: 39.36 kB / 382.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.611e-05/0.1196, allocations: 47.36 kB / 382.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1196, allocations: 0 / 382.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001363/0.1197, allocations: 69.5 kB / 382.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.1197, allocations: 8 kB / 382.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1197, allocations: 3.938 kB / 382.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.1197, allocations: 0 / 382.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.819e-05/0.1198, allocations: 11.98 kB / 382.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.1198, allocations: 0 / 382.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.294e-05/0.1198, allocations: 7.953 kB / 382.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.1198, allocations: 4 kB / 382.7 MB, free: 11.62 MB / 350.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 9.191e-05/0.1199, allocations: 125.9 kB / 382.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.353e-05/0.12, allocations: 49.58 kB / 382.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.669e-05/0.12, allocations: 16.33 kB / 382.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1201, allocations: 0 / 382.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1201, allocations: 0 / 382.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1201, allocations: 0 / 382.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.1202, allocations: 113.3 kB / 383 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.1202, allocations: 4 kB / 383 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.529e-05/0.1203, allocations: 8.328 kB / 383 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.263e-06/0.1203, allocations: 11.92 kB / 383 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.1203, allocations: 0 / 383 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1203, allocations: 4 kB / 383 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1203, allocations: 0 / 383 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002083/0.1205, allocations: 172.3 kB / 383.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.935e-05/0.1205, allocations: 15.94 kB / 383.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.1205, allocations: 0 / 383.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.079e-05/0.1206, allocations: 3.984 kB / 383.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.26e-05/0.1206, allocations: 8 kB / 383.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.1206, allocations: 0 / 383.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.166e-05/0.1207, allocations: 106.4 kB / 383.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1207, allocations: 0 / 383.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002262/0.121, allocations: 8 kB / 383.3 MB, free: 10.92 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (4): * Single equations (assignments): 4 * 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.0001218/0.1211, allocations: 99.23 kB / 383.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001499/0.1212, allocations: 27.92 kB / 383.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1212, allocations: 0 / 383.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.903e-05/0.1213, allocations: 11.94 kB / 383.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.1216, allocations: 24 kB / 383.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003406/0.1219, allocations: 158.6 kB / 383.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.458e-05/0.122, allocations: 71.33 kB / 383.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.512e-05/0.1221, allocations: 4 kB / 383.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.723e-05/0.1221, allocations: 8.5 kB / 383.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1221, allocations: 0 / 383.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of Templates: time 0.003107/0.1252, allocations: 0.5358 MB / 384.3 MB, free: 9.941 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.485928239999339]