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.0009597/0.0009599, allocations: 100.3 kB / 15.73 MB, free: 436 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 178.4 kB / 16.61 MB, free: 6.422 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.604/1.604, allocations: 205.4 MB / 222.8 MB, free: 5.859 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08868/0.08868, allocations: 12.59 MB / 283.6 MB, free: 8.941 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.0007181/0.0007181, allocations: 24 kB / 344.5 MB, free: 21.3 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1135, allocations: 50.38 MB / 394.9 MB, free: 2.832 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample): time 0.001865/0.1154, allocations: 1.268 MB / 396.2 MB, free: 1.551 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008443/0.1163, allocations: 0.5039 MB / 396.7 MB, free: 1.039 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.339e-05/0.1164, allocations: 4 kB / 396.7 MB, free: 1.035 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.031e-05/0.1164, allocations: 11.92 kB / 396.7 MB, free: 1.023 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001201/0.1166, allocations: 0 / 396.7 MB, free: 1.023 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002776/0.1169, allocations: 51.81 kB / 396.7 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.187e-05/0.117, allocations: 35.89 kB / 396.8 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.418e-05/0.1171, allocations: 8.188 kB / 396.8 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.471e-05/0.1171, allocations: 19.92 kB / 396.8 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.132e-05/0.1172, allocations: 23.84 kB / 396.8 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.1172, allocations: 4 kB / 396.8 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.219e-05/0.1172, allocations: 0 / 396.8 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.298e-05/0.1173, allocations: 8 kB / 396.8 MB, free: 0.875 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.741e-05/0.1173, allocations: 33.64 kB / 396.9 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.921e-05/0.1174, allocations: 35.94 kB / 396.9 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.1174, allocations: 0 / 396.9 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1174, allocations: 0 / 396.9 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.1174, allocations: 0 / 396.9 MB, free: 0.8008 MB / 286.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.0004658/0.1179, allocations: 379.2 kB / 397.3 MB, free: 392 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.1179, allocations: 12.03 kB / 397.3 MB, free: 380 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.274e-05/0.118, allocations: 7.906 kB / 397.3 MB, free: 372 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/0.1182, allocations: 198.7 kB / 397.5 MB, free: 132 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.1182, allocations: 4 kB / 397.5 MB, free: 128 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.1182, allocations: 4 kB / 397.5 MB, free: 124 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002731/0.1185, allocations: 117.9 kB / 397.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.1185, allocations: 0 / 397.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.1185, allocations: 4 kB / 397.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.1185, allocations: 0 / 397.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.254e-05/0.1186, allocations: 27.92 kB / 397.6 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003109/0.119, allocations: 278.5 kB / 397.9 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.1191, allocations: 67.78 kB / 398 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.1191, allocations: 0 / 398 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.1191, allocations: 46.61 kB / 398 MB, free: 15.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.1192, allocations: 3.938 kB / 398 MB, free: 15.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002773/0.1194, allocations: 81.61 kB / 398.1 MB, free: 15.39 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.292e-05/0.1195, allocations: 111.2 kB / 398.2 MB, free: 15.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.1196, allocations: 149.5 kB / 398.4 MB, free: 15.1 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.1197, allocations: 25.7 kB / 398.4 MB, free: 15.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.704e-05/0.1197, allocations: 92.05 kB / 398.5 MB, free: 14.97 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.359e-05/0.1197, allocations: 7.922 kB / 398.5 MB, free: 14.96 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.182e-06/0.1198, allocations: 4 kB / 398.5 MB, free: 14.96 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.1199, allocations: 318.8 kB / 398.8 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.359e-05/0.1199, allocations: 16 kB / 398.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.008e-05/0.12, allocations: 39.36 kB / 398.9 MB, free: 14.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.662e-05/0.12, allocations: 12 kB / 398.9 MB, free: 14.56 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1201, allocations: 4 kB / 398.9 MB, free: 14.56 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001313/0.1202, allocations: 73.52 kB / 398.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.1202, allocations: 5.25 kB / 398.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1202, allocations: 0 / 398.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.1202, allocations: 4 kB / 398.9 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.757e-05/0.1203, allocations: 11.98 kB / 399 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.1203, allocations: 4.062 kB / 399 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.555e-05/0.1204, allocations: 15.95 kB / 399 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.1204, allocations: 4 kB / 399 MB, free: 14.44 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.719e-05/0.1205, allocations: 121.6 kB / 399.1 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.075e-05/0.1206, allocations: 49.55 kB / 399.2 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.361e-05/0.1206, allocations: 15.86 kB / 399.2 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1206, allocations: 4 kB / 399.2 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.1206, allocations: 0 / 399.2 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1207, allocations: 4.062 kB / 399.2 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.1208, allocations: 173.6 kB / 399.3 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1208, allocations: 0 / 399.3 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.907e-05/0.1209, allocations: 11.98 kB / 399.4 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1209, allocations: 0 / 399.4 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.1209, allocations: 4 kB / 399.4 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1209, allocations: 0 / 399.4 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1209, allocations: 0 / 399.4 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002061/0.1211, allocations: 212.6 kB / 399.6 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.289e-05/0.1212, allocations: 97 kB / 399.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.1213, allocations: 0 / 399.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.342e-05/0.1213, allocations: 7.984 kB / 399.7 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.867e-05/0.1214, allocations: 7.953 kB / 399.7 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.1214, allocations: 4 kB / 399.7 MB, free: 13.62 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.842e-05/0.1215, allocations: 107.9 kB / 399.8 MB, free: 13.52 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1215, allocations: 0 / 399.8 MB, free: 13.52 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002219/0.1217, allocations: 4 kB / 399.8 MB, free: 13.51 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001101/0.1218, allocations: 99.19 kB / 399.9 MB, free: 13.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001392/0.122, allocations: 43.86 kB / 399.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.122, allocations: 0 / 399.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.978e-05/0.122, allocations: 11.98 kB / 399.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.1223, allocations: 31.89 kB / 400 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003632/0.1227, allocations: 195.1 kB / 400.2 MB, free: 13.1 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.1231, allocations: 0.6965 MB / 400.9 MB, free: 12.38 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.77e-05/0.1232, allocations: 8.188 kB / 400.9 MB, free: 12.37 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.699e-05/0.1232, allocations: 11.44 kB / 400.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1232, allocations: 4 kB / 400.9 MB, free: 12.35 MB / 302.1 MB Notification: Performance of Templates: time 0.00299/0.1262, allocations: 0.5229 MB / 401.4 MB, free: 11.83 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches