Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.001617/0.001617, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.001567/0.001567, allocations: 169.2 kB / 24.5 MB, free: 3.453 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.573/1.573, allocations: 177.2 MB / 204.9 MB, free: 9.055 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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 50.95 kB / 325.6 MB, free: 284 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1258, allocations: 53.34 MB / 378.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.004065/0.1299, allocations: 1.588 MB / 380.5 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.1311, allocations: 0.4909 MB / 381 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.872e-05/0.1312, allocations: 3.938 kB / 381 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.588e-05/0.1312, allocations: 3.938 kB / 381 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001524/0.1314, allocations: 19.92 kB / 381 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003556/0.1317, allocations: 51.81 kB / 381.1 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000119/0.1318, allocations: 55.72 kB / 381.1 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.132, allocations: 8 kB / 381.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.1321, allocations: 31.86 kB / 381.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.874e-05/0.1322, allocations: 23.84 kB / 381.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.1322, allocations: 4 kB / 381.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.563e-05/0.1322, allocations: 4 kB / 381.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.184e-05/0.1323, allocations: 15.92 kB / 381.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.877e-05/0.1323, allocations: 19.86 kB / 381.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.1325, allocations: 67.62 kB / 381.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1325, allocations: 0 / 381.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.1325, allocations: 0 / 381.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.1325, allocations: 0 / 381.3 MB, free: 13.3 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.0005864/0.1331, allocations: 306 kB / 381.6 MB, free: 12.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.1331, allocations: 8.031 kB / 381.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001811/0.1333, allocations: 16.88 kB / 381.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003017/0.1336, allocations: 146.3 kB / 381.8 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.1336, allocations: 4.375 kB / 381.8 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.1336, allocations: 4.375 kB / 381.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003212/0.134, allocations: 113.3 kB / 381.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.134, allocations: 3.984 kB / 381.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.134, allocations: 4 kB / 381.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.134, allocations: 4 kB / 381.9 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.522e-05/0.1341, allocations: 27.92 kB / 381.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003169/0.1344, allocations: 205.5 kB / 382.1 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.1346, allocations: 65.08 kB / 382.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.977e-05/0.1347, allocations: 29.77 kB / 382.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.1347, allocations: 0 / 382.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.1347, allocations: 30.56 kB / 382.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.059e-05/0.1347, allocations: 3.984 kB / 382.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002699/0.135, allocations: 85.66 kB / 382.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.231e-05/0.1351, allocations: 85.12 kB / 382.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.1352, allocations: 138.2 kB / 382.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.1352, allocations: 29.64 kB / 382.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.608e-05/0.1353, allocations: 88.14 kB / 382.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/0.1353, allocations: 15.94 kB / 382.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-05/0.1353, allocations: 13.72 kB / 382.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.1355, allocations: 318.8 kB / 383 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.361e-05/0.1355, allocations: 11.98 kB / 383 MB, free: 11.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.262e-05/0.1356, allocations: 39.36 kB / 383.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.561e-05/0.1357, allocations: 43.42 kB / 383.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1357, allocations: 0 / 383.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001511/0.1359, allocations: 77.45 kB / 383.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.1359, allocations: 8 kB / 383.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1359, allocations: 0 / 383.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.1359, allocations: 8.109 kB / 383.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.237e-05/0.136, allocations: 8 kB / 383.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.136, allocations: 0 / 383.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.185e-05/0.136, allocations: 4 kB / 383.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.136, allocations: 4 kB / 383.2 MB, free: 11.16 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 0.0001081/0.1361, allocations: 125.7 kB / 383.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.62e-05/0.1362, allocations: 53.58 kB / 383.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.729e-05/0.1362, allocations: 12.34 kB / 383.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1362, allocations: 0 / 383.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.1362, allocations: 0 / 383.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1363, allocations: 4 kB / 383.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.1364, allocations: 117.3 kB / 383.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.1364, allocations: 7.922 kB / 383.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.317e-05/0.1365, allocations: 8 kB / 383.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.624e-06/0.1365, allocations: 0 / 383.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.1365, allocations: 0 / 383.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.1365, allocations: 4 kB / 383.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1365, allocations: 0 / 383.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/0.1367, allocations: 168.3 kB / 383.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.395e-05/0.1367, allocations: 19.88 kB / 383.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.1367, allocations: 8 kB / 383.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.561e-05/0.1368, allocations: 0 / 383.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-05/0.1368, allocations: 7.984 kB / 383.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.1368, allocations: 4 kB / 383.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.146e-05/0.1369, allocations: 110.1 kB / 383.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1369, allocations: 0 / 383.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002303/0.1372, allocations: 12 kB / 383.9 MB, free: 10.44 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.000104/0.1373, allocations: 95.23 kB / 383.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001591/0.1374, allocations: 35.92 kB / 384 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1374, allocations: 0 / 384 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.678e-05/0.1375, allocations: 7.984 kB / 384 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.1378, allocations: 36.34 kB / 384 MB, free: 10.26 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000368/0.1382, allocations: 163.7 kB / 384.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.541e-05/0.1383, allocations: 75.33 kB / 384.3 MB, free: 9.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.196e-05/0.1383, allocations: 12.3 kB / 384.3 MB, free: 9.969 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.024e-05/0.1383, allocations: 8.5 kB / 384.3 MB, free: 9.961 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1383, allocations: 0 / 384.3 MB, free: 9.961 MB / 350.1 MB Notification: Performance of Templates: time 0.002999/0.1413, allocations: 0.5722 MB / 384.8 MB, free: 9.398 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.521330724935979]