Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.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.001808/0.001808, allocations: 80.12 kB / 21.24 MB, free: 0.543 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.002819/0.002819, allocations: 162.1 kB / 24.5 MB, free: 3.719 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.564/1.564, allocations: 177.1 MB / 204.7 MB, free: 8.984 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 62.02 kB / 325.5 MB, free: 208 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.125, allocations: 53.38 MB / 378.9 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.004781/0.1298, allocations: 1.853 MB / 380.8 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001942/0.1317, allocations: 0.7011 MB / 381.5 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001668/0.1319, allocations: 7.938 kB / 381.5 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000202/0.1321, allocations: 19.73 kB / 381.5 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002155/0.1323, allocations: 31.78 kB / 381.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008233/0.1332, allocations: 159.6 kB / 381.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003176/0.1335, allocations: 151.5 kB / 381.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001836/0.1337, allocations: 37.78 kB / 381.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002036/0.1339, allocations: 67.72 kB / 381.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.134, allocations: 59.67 kB / 382 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.521e-05/0.1341, allocations: 16 kB / 382 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001655/0.1342, allocations: 47.97 kB / 382 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.1344, allocations: 47.78 kB / 382.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.1345, allocations: 55.66 kB / 382.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004288/0.1349, allocations: 211.1 kB / 382.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1349, allocations: 0 / 382.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.1349, allocations: 0 / 382.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.014e-06/0.1349, allocations: 4 kB / 382.4 MB, free: 12.02 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001004/0.1359, allocations: 401.6 kB / 382.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.136, allocations: 19.92 kB / 382.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002236/0.1362, allocations: 32.72 kB / 382.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005191/0.1367, allocations: 190.7 kB / 383 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.1367, allocations: 8.562 kB / 383 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.775e-05/0.1368, allocations: 20.12 kB / 383 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009949/0.1378, allocations: 358 kB / 383.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.1378, allocations: 4 kB / 383.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/0.1378, allocations: 4 kB / 383.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.1378, allocations: 4 kB / 383.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003388/0.1381, allocations: 79.94 kB / 383.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004938/0.1386, allocations: 261.3 kB / 383.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006417/0.1393, allocations: 181 kB / 383.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002189/0.1395, allocations: 102 kB / 384 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004051/0.1399, allocations: 55.94 kB / 384 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.1399, allocations: 38.56 kB / 384.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.253e-06/0.1399, allocations: 0 / 384.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007616/0.1407, allocations: 248 kB / 384.3 MB, free: 9.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/0.1408, allocations: 114.8 kB / 384.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002923/0.1411, allocations: 194.8 kB / 384.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.237e-05/0.1412, allocations: 29.7 kB / 384.7 MB, free: 9.535 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.236e-05/0.1412, allocations: 96.64 kB / 384.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.936e-05/0.1413, allocations: 23.83 kB / 384.8 MB, free: 9.414 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.638e-05/0.1414, allocations: 41.7 kB / 384.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.1416, allocations: 327 kB / 385.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.1417, allocations: 43.97 kB / 385.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002571/0.1419, allocations: 193.6 kB / 385.4 MB, free: 8.742 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003827/0.1423, allocations: 200.1 kB / 385.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1423, allocations: 0 / 385.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005288/0.1429, allocations: 213.7 kB / 385.8 MB, free: 8.273 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.1429, allocations: 11.94 kB / 385.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.1429, allocations: 12.02 kB / 385.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/0.1429, allocations: 4 kB / 385.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/0.1432, allocations: 43.92 kB / 385.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.914e-05/0.1432, allocations: 11.94 kB / 385.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000211/0.1434, allocations: 23.88 kB / 385.9 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.1434, allocations: 12 kB / 385.9 MB, free: 8.156 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 6 ($CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[1],sample1.noise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[3],sample1.noise.seedState[2],sample1.noise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.0001471/0.1436, allocations: 141.8 kB / 386 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003513/0.1439, allocations: 165.4 kB / 386.2 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005065/0.1444, allocations: 187.2 kB / 386.4 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.1444, allocations: 7.938 kB / 386.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.1444, allocations: 0 / 386.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.1444, allocations: 0 / 386.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002589/0.1447, allocations: 153.2 kB / 386.5 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/0.1447, allocations: 7.984 kB / 386.5 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/0.1449, allocations: 27.98 kB / 386.6 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1449, allocations: 0 / 386.6 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.1449, allocations: 7.938 kB / 386.6 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.1449, allocations: 4 kB / 386.6 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/0.1449, allocations: 3.984 kB / 386.6 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005576/0.1455, allocations: 294.5 kB / 386.9 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.1456, allocations: 39.88 kB / 386.9 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.269e-05/0.1456, allocations: 11.92 kB / 386.9 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.1458, allocations: 8 kB / 386.9 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.1458, allocations: 3.984 kB / 386.9 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.161e-05/0.1459, allocations: 8 kB / 386.9 MB, free: 7.035 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001768/0.146, allocations: 152 kB / 387.1 MB, free: 6.887 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.146, allocations: 0 / 387.1 MB, free: 6.887 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004976/0.1465, allocations: 32 kB / 387.1 MB, free: 6.855 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: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002308/0.1468, allocations: 119.1 kB / 387.2 MB, free: 6.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004363/0.1472, allocations: 140.6 kB / 387.4 MB, free: 6.594 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1472, allocations: 0 / 387.4 MB, free: 6.594 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.91e-05/0.1473, allocations: 11.98 kB / 387.4 MB, free: 6.582 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008196/0.1481, allocations: 136.8 kB / 387.5 MB, free: 6.445 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008292/0.149, allocations: 336.9 kB / 387.8 MB, free: 6.082 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001712/0.1491, allocations: 124.3 kB / 388 MB, free: 5.941 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.119e-05/0.1492, allocations: 25.42 kB / 388 MB, free: 5.918 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.204e-05/0.1493, allocations: 16.5 kB / 388 MB, free: 5.902 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1493, allocations: 0 / 388 MB, free: 5.902 MB / 350.1 MB Notification: Performance of Templates: time 0.006244/0.1555, allocations: 2.596 MB / 390.6 MB, free: 3.34 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.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.612838082946837]