Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009613/0.0009613, allocations: 174.2 kB / 16.8 MB, free: 5.008 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.312/1.312, allocations: 205.4 MB / 223 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007869/0.0007869, allocations: 97.14 kB / 271.3 MB, free: 8.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08252/0.08252, allocations: 12.59 MB / 332.2 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003387/0.0003388, allocations: 8.234 kB / 393.3 MB, free: 65.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.075/0.07535, allocations: 50.38 MB / 443.7 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample): time 0.001439/0.07683, allocations: 1.258 MB / 445 MB, free: 14.15 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007584/0.07761, allocations: 0.5231 MB / 445.5 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.137e-05/0.07771, allocations: 3.938 kB / 445.5 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.668e-05/0.07775, allocations: 0 / 445.5 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001106/0.07787, allocations: 11.92 kB / 445.5 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002223/0.0781, allocations: 43.91 kB / 445.5 MB, free: 13.56 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.331e-05/0.07819, allocations: 43.78 kB / 445.6 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.175e-05/0.07828, allocations: 15.98 kB / 445.6 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.047e-05/0.07835, allocations: 19.88 kB / 445.6 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.648e-05/0.0784, allocations: 15.86 kB / 445.6 MB, free: 13.47 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.07843, allocations: 4 kB / 445.6 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.153e-05/0.07844, allocations: 0 / 445.6 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.101e-05/0.0785, allocations: 23.91 kB / 445.7 MB, free: 13.44 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.42e-05/0.07854, allocations: 45.52 kB / 445.7 MB, free: 13.39 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.742e-05/0.07862, allocations: 35.94 kB / 445.7 MB, free: 13.36 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.07863, allocations: 0 / 445.7 MB, free: 13.36 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.07863, allocations: 0 / 445.7 MB, free: 13.36 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.07864, allocations: 0 / 445.7 MB, free: 13.36 MB / 298.7 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.0003627/0.07901, allocations: 367.5 kB / 446.1 MB, free: 12.95 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.07905, allocations: 8.031 kB / 446.1 MB, free: 12.94 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.913e-05/0.07908, allocations: 8.844 kB / 446.1 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.07924, allocations: 200.1 kB / 446.3 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.735e-06/0.07925, allocations: 384 / 446.3 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.07928, allocations: 8.359 kB / 446.3 MB, free: 12.69 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002376/0.07952, allocations: 105.4 kB / 446.4 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.07954, allocations: 11.88 kB / 446.4 MB, free: 12.56 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.07955, allocations: 0 / 446.4 MB, free: 12.56 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.07957, allocations: 4 kB / 446.4 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.128e-05/0.07964, allocations: 23.92 kB / 446.5 MB, free: 12.53 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002284/0.07988, allocations: 257.8 kB / 446.7 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.753e-05/0.07996, allocations: 53.14 kB / 446.8 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.586e-05/0.08001, allocations: 21.78 kB / 446.8 MB, free: 12.13 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.08004, allocations: 0 / 446.8 MB, free: 12.13 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.08006, allocations: 42.55 kB / 446.8 MB, free: 12.08 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.08007, allocations: 0 / 446.8 MB, free: 12.08 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002147/0.08029, allocations: 69.53 kB / 446.9 MB, free: 12 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.08033, allocations: 81.05 kB / 447 MB, free: 11.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.185e-05/0.08043, allocations: 142.1 kB / 447.1 MB, free: 11.75 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.394e-06/0.08044, allocations: 29.95 kB / 447.1 MB, free: 11.72 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.315e-05/0.08048, allocations: 88.14 kB / 447.2 MB, free: 11.63 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.437e-05/0.0805, allocations: 0 / 447.2 MB, free: 11.63 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-06/0.08051, allocations: 0 / 447.2 MB, free: 11.63 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.397e-05/0.08056, allocations: 322.8 kB / 447.5 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.681e-05/0.0806, allocations: 4 kB / 447.5 MB, free: 11.3 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.626e-05/0.08065, allocations: 25.7 kB / 447.6 MB, free: 11.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.076e-05/0.08072, allocations: 37.64 kB / 447.6 MB, free: 11.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.08073, allocations: 0 / 447.6 MB, free: 11.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001049/0.08084, allocations: 65.62 kB / 447.7 MB, free: 11.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.08086, allocations: 4 kB / 447.7 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.08087, allocations: 4 kB / 447.7 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.61e-05/0.08091, allocations: 0 / 447.7 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.493e-05/0.08099, allocations: 7.984 kB / 447.7 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.081, allocations: 0 / 447.7 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.598e-05/0.08104, allocations: 4 kB / 447.7 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.08105, allocations: 0 / 447.7 MB, free: 11.14 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 5.902e-05/0.08112, allocations: 125.7 kB / 447.8 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.63e-05/0.08117, allocations: 45.64 kB / 447.9 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.87e-05/0.0812, allocations: 11.83 kB / 447.9 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.08121, allocations: 0 / 447.9 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.08122, allocations: 0 / 447.9 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.08123, allocations: 7.984 kB / 447.9 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.08136, allocations: 169.6 kB / 448 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.08137, allocations: 3.984 kB / 448 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.421e-05/0.08141, allocations: 4 kB / 448 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.08142, allocations: 7.938 kB / 448.1 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.08144, allocations: 4.031 kB / 448.1 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.08144, allocations: 0 / 448.1 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.08145, allocations: 7.922 kB / 448.1 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.08157, allocations: 172.2 kB / 448.2 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.528e-05/0.08162, allocations: 89 kB / 448.3 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.08164, allocations: 4.031 kB / 448.3 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.476e-05/0.08171, allocations: 8 kB / 448.3 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.821e-05/0.08174, allocations: 0 / 448.3 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.08175, allocations: 4 kB / 448.3 MB, free: 10.38 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.403e-05/0.0818, allocations: 107.2 kB / 448.4 MB, free: 10.28 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.08181, allocations: 0 / 448.4 MB, free: 10.28 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002029/0.08201, allocations: 4 kB / 448.4 MB, free: 10.27 MB / 298.7 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 (2): * Single equations (assignments): 2 * 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 6.506e-05/0.08208, allocations: 91.25 kB / 448.5 MB, free: 10.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001161/0.08221, allocations: 31.92 kB / 448.6 MB, free: 10.14 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.08222, allocations: 0 / 448.6 MB, free: 10.14 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.513e-05/0.08226, allocations: 11.98 kB / 448.6 MB, free: 10.13 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003239/0.08259, allocations: 25.36 kB / 448.6 MB, free: 10.11 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002739/0.08287, allocations: 207.5 kB / 448.8 MB, free: 9.871 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/0.08299, allocations: 0.6965 MB / 449.5 MB, free: 9.148 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.568e-05/0.08302, allocations: 11.44 kB / 449.5 MB, free: 9.137 MB / 298.7 MB Notification: Performance of SimCode: time 3.1e-07/0.08303, allocations: 0 / 449.5 MB, free: 9.137 MB / 298.7 MB Notification: Performance of Templates: time 0.001622/0.08466, allocations: 0.7183 MB / 450.2 MB, free: 8.422 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches