Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1.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.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009793/0.0009793, allocations: 84.19 kB / 15.75 MB, free: 416 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.001126/0.001126, allocations: 175.4 kB / 16.63 MB, free: 6.887 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.73/1.73, allocations: 205.4 MB / 222.8 MB, free: 5.641 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.08691/0.08691, allocations: 12.6 MB / 283.7 MB, free: 8.676 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.001046/0.001046, allocations: 24 kB / 344.5 MB, free: 21.24 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1389, allocations: 50.38 MB / 394.9 MB, free: 2.781 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1): time 0.001986/0.141, allocations: 1.208 MB / 396.1 MB, free: 1.559 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004149/0.1414, allocations: 139.7 kB / 396.3 MB, free: 1.422 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.699e-05/0.1415, allocations: 7.938 kB / 396.3 MB, free: 1.414 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.609e-05/0.1416, allocations: 3.984 kB / 396.3 MB, free: 1.41 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.1417, allocations: 7.875 kB / 396.3 MB, free: 1.402 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003096/0.142, allocations: 43.84 kB / 396.3 MB, free: 1.359 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.1422, allocations: 27.92 kB / 396.4 MB, free: 1.332 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.1423, allocations: 19.97 kB / 396.4 MB, free: 1.312 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.961e-05/0.1423, allocations: 7.938 kB / 396.4 MB, free: 1.305 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.232e-05/0.1424, allocations: 15.92 kB / 396.4 MB, free: 1.289 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.1424, allocations: 0 / 396.4 MB, free: 1.289 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.008e-05/0.1424, allocations: 0 / 396.4 MB, free: 1.289 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.156e-05/0.1425, allocations: 11.88 kB / 396.4 MB, free: 1.277 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.35e-05/0.1425, allocations: 33.7 kB / 396.4 MB, free: 1.238 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.03e-05/0.1426, allocations: 27.94 kB / 396.5 MB, free: 1.211 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.1426, allocations: 4 kB / 396.5 MB, free: 1.207 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1426, allocations: 0 / 396.5 MB, free: 1.207 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.1427, allocations: 0 / 396.5 MB, free: 1.207 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005238/0.1432, allocations: 367.3 kB / 396.8 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.1432, allocations: 8.031 kB / 396.8 MB, free: 0.793 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.075e-05/0.1433, allocations: 7.906 kB / 396.8 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.1435, allocations: 186.9 kB / 397 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.1435, allocations: 0 / 397 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.964e-05/0.1436, allocations: 11.95 kB / 397 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003329/0.1439, allocations: 116.9 kB / 397.2 MB, free: 428 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.1439, allocations: 3.938 kB / 397.2 MB, free: 424 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.144, allocations: 0 / 397.2 MB, free: 424 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.144, allocations: 4 kB / 397.2 MB, free: 420 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.294e-05/0.1441, allocations: 27.92 kB / 397.2 MB, free: 392 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003769/0.1444, allocations: 261.8 kB / 397.4 MB, free: 76 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/0.1447, allocations: 138.2 kB / 397.6 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.137e-05/0.1448, allocations: 29.77 kB / 397.6 MB, free: 15.87 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.1448, allocations: 8 kB / 397.6 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.1448, allocations: 30.56 kB / 397.6 MB, free: 15.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.743e-06/0.1449, allocations: 7.938 kB / 397.7 MB, free: 15.81 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002694/0.1451, allocations: 81.56 kB / 397.7 MB, free: 15.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.721e-05/0.1452, allocations: 81.05 kB / 397.8 MB, free: 15.63 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.1453, allocations: 138 kB / 397.9 MB, free: 15.48 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.1453, allocations: 25.7 kB / 398 MB, free: 15.45 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.957e-05/0.1454, allocations: 92.25 kB / 398.1 MB, free: 15.36 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.203e-05/0.1454, allocations: 4 kB / 398.1 MB, free: 15.35 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-06/0.1454, allocations: 0 / 398.1 MB, free: 15.35 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.1456, allocations: 318.8 kB / 398.4 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.112e-05/0.1456, allocations: 11.98 kB / 398.4 MB, free: 15.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.185e-05/0.1457, allocations: 35.42 kB / 398.4 MB, free: 14.97 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.757e-05/0.1457, allocations: 16 kB / 398.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1457, allocations: 0 / 398.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001536/0.1459, allocations: 81.45 kB / 398.5 MB, free: 14.87 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.1459, allocations: 12.06 kB / 398.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.1459, allocations: 0 / 398.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.146, allocations: 4 kB / 398.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.969e-05/0.146, allocations: 8 kB / 398.5 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.1461, allocations: 0 / 398.5 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.784e-05/0.1461, allocations: 7.984 kB / 398.6 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-06/0.1461, allocations: 0 / 398.6 MB, free: 14.84 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: 4 (step.y,sample.y,assignClock.y,assignClock.u) * 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 0.0001042/0.1462, allocations: 125.6 kB / 398.7 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.417e-05/0.1463, allocations: 57.53 kB / 398.7 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.962e-05/0.1464, allocations: 8.25 kB / 398.7 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.237e-06/0.1464, allocations: 4 kB / 398.7 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.1464, allocations: 0 / 398.7 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1464, allocations: 0 / 398.7 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/0.1466, allocations: 169.6 kB / 398.9 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.1466, allocations: 7.938 kB / 398.9 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.395e-05/0.1467, allocations: 11.98 kB / 398.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.266e-06/0.1467, allocations: 4 kB / 398.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.1467, allocations: 0 / 398.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.1467, allocations: 4 kB / 398.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1468, allocations: 0 / 398.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001993/0.147, allocations: 172.2 kB / 399.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.144e-05/0.147, allocations: 93.05 kB / 399.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.1471, allocations: 0 / 399.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.675e-05/0.1471, allocations: 8 kB / 399.2 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/0.1472, allocations: 0 / 399.2 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.1472, allocations: 4 kB / 399.2 MB, free: 14.08 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.026e-05/0.1473, allocations: 103.2 kB / 399.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.1473, allocations: 0 / 399.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002395/0.1475, allocations: 7.906 kB / 399.3 MB, free: 13.97 MB / 302.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: 4 (step.y,assignClock.u,assignClock.y,sample.y) * 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.0001573/0.1477, allocations: 95.25 kB / 399.4 MB, free: 13.87 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001681/0.1479, allocations: 35.92 kB / 399.4 MB, free: 13.83 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1479, allocations: 0 / 399.4 MB, free: 13.83 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-05/0.1479, allocations: 15.98 kB / 399.5 MB, free: 13.82 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004248/0.1484, allocations: 16.03 kB / 399.5 MB, free: 13.8 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004194/0.1488, allocations: 166 kB / 399.6 MB, free: 13.6 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/0.1492, allocations: 0.6887 MB / 400.3 MB, free: 12.89 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.333e-05/0.1492, allocations: 4.516 kB / 400.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.951e-05/0.1492, allocations: 7.438 kB / 400.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1493, allocations: 0 / 400.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of Templates: time 0.003519/0.1528, allocations: 446.5 kB / 400.8 MB, free: 12.44 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1.makefile Environment - environmentSimulation: (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches