Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.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.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|unitDelay1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|unitDelay1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001081, allocations: 95.5 kB / 15.73 MB, free: 440 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.00135/0.00135, allocations: 176 kB / 16.61 MB, free: 6.426 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.565/1.565, allocations: 205.4 MB / 222.8 MB, free: 5.871 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.07699/0.07699, allocations: 12.6 MB / 283.6 MB, free: 8.938 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.0007258/0.0007258, allocations: 24 kB / 344.5 MB, free: 21.3 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1046, allocations: 50.38 MB / 394.9 MB, free: 2.832 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock): time 0.001365/0.106, allocations: 0.6527 MB / 395.5 MB, free: 2.18 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003467/0.1064, allocations: 107.7 kB / 395.7 MB, free: 2.074 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.318e-05/0.1065, allocations: 0 / 395.7 MB, free: 2.074 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.363e-05/0.1065, allocations: 3.938 kB / 395.7 MB, free: 2.07 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001556/0.1067, allocations: 15.92 kB / 395.7 MB, free: 2.055 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002706/0.107, allocations: 31.97 kB / 395.7 MB, free: 2.023 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.479e-05/0.1071, allocations: 23.92 kB / 395.7 MB, free: 2 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.1072, allocations: 24.14 kB / 395.8 MB, free: 1.973 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.117e-05/0.1073, allocations: 7.938 kB / 395.8 MB, free: 1.965 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.01e-05/0.1073, allocations: 19.86 kB / 395.8 MB, free: 1.945 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.1073, allocations: 0 / 395.8 MB, free: 1.945 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.526e-05/0.1074, allocations: 4 kB / 395.8 MB, free: 1.941 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.673e-05/0.1074, allocations: 7.984 kB / 395.8 MB, free: 1.934 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.373e-05/0.1075, allocations: 41.64 kB / 395.8 MB, free: 1.887 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.633e-05/0.1076, allocations: 35.92 kB / 395.9 MB, free: 1.852 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1076, allocations: 0 / 395.9 MB, free: 1.852 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.1076, allocations: 0 / 395.9 MB, free: 1.852 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.1076, allocations: 0 / 395.9 MB, free: 1.852 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004673/0.1081, allocations: 367.2 kB / 396.2 MB, free: 1.445 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.1081, allocations: 12.03 kB / 396.2 MB, free: 1.434 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.822e-05/0.1082, allocations: 11.91 kB / 396.2 MB, free: 1.422 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.1084, allocations: 184.1 kB / 396.4 MB, free: 1.203 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.1084, allocations: 12 kB / 396.4 MB, free: 1.191 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.583e-05/0.1084, allocations: 7.953 kB / 396.4 MB, free: 1.184 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002782/0.1087, allocations: 123.2 kB / 396.6 MB, free: 1.051 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.1087, allocations: 0 / 396.6 MB, free: 1.051 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.1088, allocations: 4 kB / 396.6 MB, free: 1.047 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.1088, allocations: 0 / 396.6 MB, free: 1.047 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.46e-05/0.1088, allocations: 15.94 kB / 396.6 MB, free: 1.031 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001816/0.109, allocations: 181.6 kB / 396.8 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.1092, allocations: 66.72 kB / 396.8 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.667e-06/0.1092, allocations: 4.094 kB / 396.8 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.1092, allocations: 42.5 kB / 396.9 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.1092, allocations: 0 / 396.9 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002098/0.1095, allocations: 89.58 kB / 397 MB, free: 0.582 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.968e-05/0.1095, allocations: 55.41 kB / 397 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.1097, allocations: 137 kB / 397.1 MB, free: 384 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.1097, allocations: 25.7 kB / 397.2 MB, free: 352 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.023e-05/0.1098, allocations: 92.12 kB / 397.3 MB, free: 256 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.372e-05/0.1098, allocations: 4 kB / 397.3 MB, free: 252 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.806e-06/0.1098, allocations: 0 / 397.3 MB, free: 252 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.11, allocations: 322.8 kB / 397.6 MB, free: 15.92 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.774e-05/0.11, allocations: 8 kB / 397.6 MB, free: 15.91 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.43e-05/0.1101, allocations: 58.81 kB / 397.6 MB, free: 15.83 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.578e-05/0.1101, allocations: 19.98 kB / 397.7 MB, free: 15.81 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.1101, allocations: 4 kB / 397.7 MB, free: 15.81 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001331/0.1102, allocations: 93.36 kB / 397.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.1103, allocations: 4 kB / 397.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.1103, allocations: 4 kB / 397.8 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.1103, allocations: 256 / 397.8 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.187e-05/0.1104, allocations: 19.98 kB / 397.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.1104, allocations: 7.938 kB / 397.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.463e-05/0.1105, allocations: 4 kB / 397.8 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.637e-06/0.1105, allocations: 4 kB / 397.8 MB, free: 15.67 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001089/0.1106, allocations: 121.6 kB / 397.9 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.477e-05/0.1107, allocations: 77.55 kB / 398 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.197e-05/0.1107, allocations: 20.64 kB / 398 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.1107, allocations: 4 kB / 398 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1107, allocations: 0 / 398 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1108, allocations: 4 kB / 398 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.1109, allocations: 165.7 kB / 398.2 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1109, allocations: 0 / 398.2 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.536e-05/0.111, allocations: 15.98 kB / 398.2 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.111, allocations: 0 / 398.2 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.111, allocations: 3.953 kB / 398.2 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.111, allocations: 192 / 398.2 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.111, allocations: 0 / 398.2 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.1111, allocations: 112.9 kB / 398.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.857e-05/0.1112, allocations: 97 kB / 398.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.1112, allocations: 0 / 398.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.962e-05/0.1113, allocations: 7.891 kB / 398.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.549e-06/0.1113, allocations: 0 / 398.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.159e-06/0.1113, allocations: 4 kB / 398.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.33e-05/0.1114, allocations: 103.2 kB / 398.5 MB, free: 14.84 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1114, allocations: 4 kB / 398.5 MB, free: 14.84 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001984/0.1116, allocations: 8 kB / 398.5 MB, free: 14.83 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001038/0.1117, allocations: 95.25 kB / 398.6 MB, free: 14.73 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001246/0.1118, allocations: 44.39 kB / 398.7 MB, free: 14.68 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1118, allocations: 0 / 398.7 MB, free: 14.68 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.1118, allocations: 0 / 398.7 MB, free: 14.68 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.1122, allocations: 47.84 kB / 398.7 MB, free: 14.64 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003024/0.1125, allocations: 184.1 kB / 398.9 MB, free: 14.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.1128, allocations: 0.7004 MB / 399.6 MB, free: 13.7 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.716e-05/0.1128, allocations: 11.97 kB / 399.6 MB, free: 13.69 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.28e-05/0.1128, allocations: 11.44 kB / 399.6 MB, free: 13.68 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1128, allocations: 0 / 399.6 MB, free: 13.68 MB / 302.1 MB Notification: Performance of Templates: time 0.002703/0.1156, allocations: 0.5439 MB / 400.2 MB, free: 13.14 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.makefile Environment - environmentSimulation: (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches