Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Blocks.Examples.CompareSincExpSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|sinc.y|expSine1.y|expSine2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine") translateModel(Modelica.Blocks.Examples.CompareSincExpSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|sinc.y|expSine1.y|expSine2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 117.7 kB / 17.7 MB, free: 5.305 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.00108/0.00108, allocations: 191 kB / 18.63 MB, free: 4.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009491/0.0009492, allocations: 46.66 kB / 302 MB, free: 5.191 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09465/0.09562, allocations: 49.45 MB / 351.5 MB, free: 3.727 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002475/0.09813, allocations: 1.484 MB / 353 MB, free: 2.223 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006254/0.09877, allocations: 452.3 kB / 353.4 MB, free: 1.781 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.131e-05/0.09882, allocations: 0 / 353.4 MB, free: 1.781 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.8e-05/0.09885, allocations: 3.938 kB / 353.4 MB, free: 1.777 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.985e-05/0.09896, allocations: 23.78 kB / 353.4 MB, free: 1.754 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001301/0.09909, allocations: 23.97 kB / 353.5 MB, free: 1.73 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.157e-05/0.09919, allocations: 75.64 kB / 353.5 MB, free: 1.656 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.672e-05/0.09925, allocations: 8 kB / 353.6 MB, free: 1.648 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.09936, allocations: 27.86 kB / 353.6 MB, free: 1.621 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.11e-05/0.09944, allocations: 39.83 kB / 353.6 MB, free: 1.582 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.09946, allocations: 4 kB / 353.6 MB, free: 1.578 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.334e-05/0.09948, allocations: 4 kB / 353.6 MB, free: 1.574 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.089e-05/0.0995, allocations: 11.98 kB / 353.6 MB, free: 1.562 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.016e-05/0.09955, allocations: 27.8 kB / 353.7 MB, free: 1.535 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.504e-05/0.09965, allocations: 51.86 kB / 353.7 MB, free: 1.484 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.09966, allocations: 0 / 353.7 MB, free: 1.484 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.09966, allocations: 0 / 353.7 MB, free: 1.484 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.09967, allocations: 4 kB / 353.7 MB, free: 1.48 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005886/0.1003, allocations: 395.1 kB / 354.1 MB, free: 1.047 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.1003, allocations: 8.031 kB / 354.1 MB, free: 1.039 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/0.1003, allocations: 12.84 kB / 354.1 MB, free: 1.027 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.1005, allocations: 172.2 kB / 354.3 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.743e-06/0.1005, allocations: 4.312 kB / 354.3 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.1005, allocations: 12.11 kB / 354.3 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/0.1007, allocations: 96.14 kB / 354.4 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.553e-06/0.1007, allocations: 0 / 354.4 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.1007, allocations: 0 / 354.4 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1008, allocations: 0 / 354.4 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002336/0.101, allocations: 67.88 kB / 354.5 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001693/0.1012, allocations: 183.5 kB / 354.7 MB, free: 404 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002335/0.1014, allocations: 107.7 kB / 354.8 MB, free: 268 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.1016, allocations: 50.55 kB / 354.8 MB, free: 208 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.1016, allocations: 0 / 354.8 MB, free: 208 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.1016, allocations: 34.56 kB / 354.8 MB, free: 164 kB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.1016, allocations: 4 kB / 354.8 MB, free: 160 kB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004574/0.1021, allocations: 141.4 kB / 355 MB, free: 12 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.307e-05/0.1022, allocations: 102.8 kB / 355.1 MB, free: 15.89 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.152e-05/0.1023, allocations: 133.7 kB / 355.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.1023, allocations: 29.7 kB / 355.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.788e-05/0.1023, allocations: 92.12 kB / 355.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.1024, allocations: 15.75 kB / 355.3 MB, free: 15.6 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-05/0.1024, allocations: 21.7 kB / 355.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.741e-05/0.1025, allocations: 314.8 kB / 355.7 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.1026, allocations: 27.97 kB / 355.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.1028, allocations: 58.53 kB / 355.8 MB, free: 15.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002303/0.103, allocations: 82.45 kB / 355.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.103, allocations: 0 / 355.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000288/0.1033, allocations: 113.5 kB / 356 MB, free: 14.96 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.1033, allocations: 4 kB / 356 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.1033, allocations: 0 / 356 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.1033, allocations: 0 / 356 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.1035, allocations: 20.08 kB / 356 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1035, allocations: 4 kB / 356 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.473e-05/0.1036, allocations: 15.89 kB / 356 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.1036, allocations: 3.984 kB / 356 MB, free: 14.91 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 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 6.896e-05/0.1037, allocations: 113.8 kB / 356.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.683e-05/0.1037, allocations: 11.88 kB / 356.1 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.702e-05/0.1038, allocations: 7.875 kB / 356.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.1038, allocations: 7.938 kB / 356.1 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1038, allocations: 4 kB / 356.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1038, allocations: 0 / 356.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.1039, allocations: 185.5 kB / 356.3 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1039, allocations: 0 / 356.3 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.104, allocations: 19.97 kB / 356.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1041, allocations: 0 / 356.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.1041, allocations: 4 kB / 356.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1041, allocations: 0 / 356.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1041, allocations: 0 / 356.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003024/0.1044, allocations: 154.6 kB / 356.5 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.922e-05/0.1044, allocations: 85.02 kB / 356.6 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.1045, allocations: 0 / 356.6 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.202e-05/0.1046, allocations: 16.12 kB / 356.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.975e-05/0.1046, allocations: 19.91 kB / 356.6 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.1046, allocations: 0 / 356.6 MB, free: 14.19 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.987e-05/0.1047, allocations: 95.27 kB / 356.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1047, allocations: 4 kB / 356.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002026/0.1049, allocations: 8 kB / 356.7 MB, free: 14.08 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.482e-05/0.105, allocations: 99.72 kB / 356.8 MB, free: 13.98 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002918/0.1053, allocations: 75.86 kB / 356.9 MB, free: 13.9 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1053, allocations: 0 / 356.9 MB, free: 13.9 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.1054, allocations: 39.91 kB / 356.9 MB, free: 13.86 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001713/0.1056, allocations: 11.94 kB / 356.9 MB, free: 13.85 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004681/0.1061, allocations: 197 kB / 357.1 MB, free: 13.62 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.1064, allocations: 0.6885 MB / 357.8 MB, free: 12.91 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.428e-05/0.1064, allocations: 8 kB / 357.8 MB, free: 12.9 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.564e-05/0.1065, allocations: 7.438 kB / 357.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1065, allocations: 0 / 357.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of Templates: time 0.002396/0.1089, allocations: 0.5998 MB / 358.4 MB, free: 12.3 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches