Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 104.2 kB / 16.45 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002574/0.002574, allocations: 190 kB / 17.39 MB, free: 5.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.762/1.762, allocations: 205.1 MB / 223.3 MB, free: 12.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09012/0.09012, allocations: 12.59 MB / 283.2 MB, free: 15.39 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 92.5 kB / 394.2 MB, free: 45.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1271, allocations: 49.4 MB / 443.6 MB, free: 472 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample): time 0.003041/0.1302, allocations: 1.571 MB / 445.1 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.1313, allocations: 0.5346 MB / 445.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.788e-05/0.1314, allocations: 0 / 445.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.171e-05/0.1315, allocations: 7.922 kB / 445.7 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001621/0.1316, allocations: 15.88 kB / 445.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002915/0.1319, allocations: 55.75 kB / 445.8 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.1321, allocations: 47.84 kB / 445.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.1322, allocations: 28.09 kB / 445.8 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.225e-05/0.1323, allocations: 15.94 kB / 445.8 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.504e-05/0.1323, allocations: 19.86 kB / 445.9 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.1324, allocations: 4 kB / 445.9 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.338e-05/0.1324, allocations: 4 kB / 445.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.035e-05/0.1324, allocations: 19.91 kB / 445.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.733e-05/0.1325, allocations: 23.81 kB / 445.9 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.1326, allocations: 59.73 kB / 446 MB, free: 14.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1326, allocations: 0 / 446 MB, free: 14.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1326, allocations: 7.938 kB / 446 MB, free: 14.04 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.1326, allocations: 0 / 446 MB, free: 14.04 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005169/0.1332, allocations: 379.1 kB / 446.3 MB, free: 13.62 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.1332, allocations: 8.031 kB / 446.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.055e-05/0.1333, allocations: 8.844 kB / 446.4 MB, free: 13.6 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.1335, allocations: 196.2 kB / 446.6 MB, free: 13.37 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.454e-06/0.1335, allocations: 4.375 kB / 446.6 MB, free: 13.37 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.1335, allocations: 8.375 kB / 446.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000285/0.1338, allocations: 121.9 kB / 446.7 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.1339, allocations: 0 / 446.7 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.1339, allocations: 7.969 kB / 446.7 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.1339, allocations: 0 / 446.7 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.864e-05/0.134, allocations: 31.92 kB / 446.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003599/0.1343, allocations: 278.5 kB / 447 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.1345, allocations: 75.78 kB / 447.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.899e-05/0.1346, allocations: 30.58 kB / 447.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.1346, allocations: 7.984 kB / 447.1 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.1346, allocations: 30.56 kB / 447.1 MB, free: 12.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1346, allocations: 0 / 447.1 MB, free: 12.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002689/0.1349, allocations: 89.52 kB / 447.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.756e-05/0.135, allocations: 106.8 kB / 447.3 MB, free: 12.44 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.1351, allocations: 141.8 kB / 447.5 MB, free: 12.29 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.1351, allocations: 29.7 kB / 447.5 MB, free: 12.26 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.598e-05/0.1352, allocations: 92.52 kB / 447.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.315e-05/0.1352, allocations: 4 kB / 447.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.725e-05/0.1352, allocations: 21.62 kB / 447.6 MB, free: 12.13 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.1354, allocations: 322.8 kB / 447.9 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.361e-05/0.1354, allocations: 11.98 kB / 447.9 MB, free: 11.8 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.166e-05/0.1355, allocations: 31.44 kB / 448 MB, free: 11.75 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.341e-05/0.1356, allocations: 47.36 kB / 448 MB, free: 11.7 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1356, allocations: 0 / 448 MB, free: 11.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001242/0.1357, allocations: 65.61 kB / 448.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.1357, allocations: 8 kB / 448.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1358, allocations: 4.125 kB / 448.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.1358, allocations: 0 / 448.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.729e-05/0.1359, allocations: 19.92 kB / 448.1 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.1359, allocations: 0 / 448.1 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.175e-05/0.1359, allocations: 4 kB / 448.1 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.1359, allocations: 4 kB / 448.1 MB, free: 11.59 MB / 334.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.673e-05/0.136, allocations: 121.8 kB / 448.2 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.068e-05/0.1361, allocations: 49.55 kB / 448.3 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.485e-05/0.1362, allocations: 23.88 kB / 448.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.1362, allocations: 0 / 448.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.1362, allocations: 4 kB / 448.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.1362, allocations: 3.938 kB / 448.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.1364, allocations: 181.4 kB / 448.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1364, allocations: 0 / 448.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.914e-05/0.1365, allocations: 11.98 kB / 448.5 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1365, allocations: 0 / 448.5 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.1365, allocations: 4 kB / 448.5 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.1365, allocations: 4 kB / 448.5 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1365, allocations: 4 kB / 448.5 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001785/0.1367, allocations: 181 kB / 448.7 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.562e-05/0.1367, allocations: 89 kB / 448.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.1368, allocations: 4 kB / 448.8 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.508e-05/0.1368, allocations: 3.938 kB / 448.8 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.1369, allocations: 15.98 kB / 448.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.1369, allocations: 0 / 448.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.06e-05/0.137, allocations: 107.9 kB / 448.9 MB, free: 10.69 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.137, allocations: 4 kB / 448.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002178/0.1372, allocations: 4 kB / 448.9 MB, free: 10.68 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.0001162/0.1373, allocations: 95.23 kB / 449 MB, free: 10.58 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001517/0.1375, allocations: 40.11 kB / 449.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1375, allocations: 0 / 449.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.613e-05/0.1375, allocations: 7.984 kB / 449.1 MB, free: 10.53 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.1379, allocations: 27.91 kB / 449.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003821/0.1383, allocations: 172.7 kB / 449.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.1386, allocations: 0.6927 MB / 450 MB, free: 9.582 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.228e-05/0.1387, allocations: 11.88 kB / 450 MB, free: 9.57 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.687e-05/0.1387, allocations: 7.438 kB / 450 MB, free: 9.562 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1387, allocations: 0 / 450 MB, free: 9.562 MB / 334.1 MB Notification: Performance of Templates: time 0.003097/0.1418, allocations: 0.6097 MB / 450.6 MB, free: 8.953 MB / 334.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches