Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.TestBrush.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HanserModelica 1.1.1/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package HanserModelica with version 1.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HanserModelica 1.1.1/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Electrical.TestBrush,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.TestBrush") translateModel(HanserModelica.Electrical.TestBrush,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.TestBrush") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009047/0.0009044, allocations: 179.1 kB / 15.43 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HanserModelica 1.1.1/package.mo): time 0.0391/0.0391, allocations: 8.922 MB / 25.1 MB, free: 3.699 MB / 18.57 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 225.7 MB / 253.7 MB, free: 5.211 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008435/0.0008435, allocations: 98.42 kB / 307 MB, free: 2.953 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004961/0.0004963, allocations: 8 kB / 370.3 MB, free: 3.605 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2917, allocations: 52.55 MB / 422.8 MB, free: 47.91 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TestBrush): time 0.001687/0.2934, allocations: 1.454 MB / 424.3 MB, free: 46.86 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00074/0.2942, allocations: 0.5371 MB / 424.8 MB, free: 46.44 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.6e-05/0.2943, allocations: 2.156 kB / 424.8 MB, free: 46.44 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 3.177e-05/0.2943, allocations: 9.641 kB / 424.8 MB, free: 46.43 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 8.651e-05/0.2944, allocations: 17.52 kB / 424.9 MB, free: 46.42 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001546/0.2946, allocations: 32.98 kB / 424.9 MB, free: 46.4 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 9.286e-05/0.2947, allocations: 79 kB / 425 MB, free: 46.36 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.2948, allocations: 24.09 kB / 425 MB, free: 46.36 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.099e-05/0.2949, allocations: 22.7 kB / 425 MB, free: 46.35 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.89e-05/0.2949, allocations: 35.83 kB / 425 MB, free: 46.33 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.295, allocations: 6.969 kB / 425.1 MB, free: 46.33 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.341e-05/0.295, allocations: 16.56 kB / 425.1 MB, free: 46.32 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.2951, allocations: 17.58 kB / 425.1 MB, free: 46.31 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.744e-05/0.2951, allocations: 57.88 kB / 425.1 MB, free: 46.26 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.2953, allocations: 94.75 kB / 425.2 MB, free: 46.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2953, allocations: 4.812 kB / 425.2 MB, free: 46.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2953, allocations: 0.9688 kB / 425.2 MB, free: 46.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.818e-06/0.2953, allocations: 1.344 kB / 425.2 MB, free: 46.23 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004126/0.2957, allocations: 380.7 kB / 425.6 MB, free: 45.85 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.2958, allocations: 12.97 kB / 425.6 MB, free: 45.85 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.413e-05/0.2958, allocations: 8.781 kB / 425.6 MB, free: 45.85 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.732e-05/0.2959, allocations: 174.9 kB / 425.8 MB, free: 45.64 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.2959, allocations: 8.359 kB / 425.8 MB, free: 45.64 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.2959, allocations: 8.594 kB / 425.8 MB, free: 45.64 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/0.2962, allocations: 91.48 kB / 425.9 MB, free: 45.59 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.2962, allocations: 1.094 kB / 425.9 MB, free: 45.59 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.2962, allocations: 7.938 kB / 425.9 MB, free: 45.58 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.2962, allocations: 7.672 kB / 425.9 MB, free: 45.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002117/0.2964, allocations: 77.36 kB / 426 MB, free: 45.55 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005115/0.297, allocations: 397.6 kB / 426.4 MB, free: 45.21 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.2971, allocations: 43.8 kB / 426.4 MB, free: 45.18 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.013e-05/0.2972, allocations: 32.86 kB / 426.5 MB, free: 45.17 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.2972, allocations: 1.156 kB / 426.5 MB, free: 45.17 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.235e-05/0.2972, allocations: 35.06 kB / 426.5 MB, free: 45.13 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.2972, allocations: 1.375 kB / 426.5 MB, free: 45.13 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003467/0.2976, allocations: 116.7 kB / 426.6 MB, free: 45.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.139e-05/0.2976, allocations: 51.41 kB / 426.7 MB, free: 45.01 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.489e-05/0.2977, allocations: 123.8 kB / 426.8 MB, free: 44.9 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.213e-06/0.2977, allocations: 26.45 kB / 426.8 MB, free: 44.87 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.776e-05/0.2978, allocations: 107.5 kB / 426.9 MB, free: 44.77 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.764e-06/0.2978, allocations: 11.09 kB / 426.9 MB, free: 44.76 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/0.2978, allocations: 0 / 426.9 MB, free: 44.76 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.96e-05/0.2978, allocations: 322.4 kB / 427.2 MB, free: 44.44 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.298, allocations: 21.06 kB / 427.3 MB, free: 44.44 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.351e-05/0.2981, allocations: 49.7 kB / 427.3 MB, free: 44.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/0.2982, allocations: 69.5 kB / 427.4 MB, free: 44.37 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2983, allocations: 1.344 kB / 427.4 MB, free: 44.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000217/0.2985, allocations: 99.66 kB / 427.5 MB, free: 44.32 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.2985, allocations: 3.969 kB / 427.5 MB, free: 44.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.2985, allocations: 1.375 kB / 427.5 MB, free: 44.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.2985, allocations: 6.156 kB / 427.5 MB, free: 44.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.364e-05/0.2986, allocations: 22.89 kB / 427.5 MB, free: 44.31 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.391e-06/0.2986, allocations: 1 kB / 427.5 MB, free: 44.31 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.14e-05/0.2987, allocations: 9.547 kB / 427.5 MB, free: 44.31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.2987, allocations: 2.844 kB / 427.5 MB, free: 44.31 MB / 330.7 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 4.935e-05/0.2988, allocations: 117.2 kB / 427.6 MB, free: 44.19 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.2988, allocations: 6.891 kB / 427.6 MB, free: 44.18 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.434e-05/0.2988, allocations: 13.88 kB / 427.7 MB, free: 44.17 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2988, allocations: 5.5 kB / 427.7 MB, free: 44.17 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.2988, allocations: 0 / 427.7 MB, free: 44.17 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.634e-06/0.2989, allocations: 4.969 kB / 427.7 MB, free: 44.16 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.299, allocations: 183.5 kB / 427.8 MB, free: 43.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.299, allocations: 0 / 427.8 MB, free: 43.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.412e-05/0.2991, allocations: 12.34 kB / 427.9 MB, free: 43.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2991, allocations: 96 / 427.9 MB, free: 43.96 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.2991, allocations: 12.55 kB / 427.9 MB, free: 43.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2991, allocations: 1.734 kB / 427.9 MB, free: 43.95 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2991, allocations: 0 / 427.9 MB, free: 43.95 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.2993, allocations: 182.7 kB / 428.1 MB, free: 43.8 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.092e-05/0.2994, allocations: 85.03 kB / 428.1 MB, free: 43.7 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.2994, allocations: 7.969 kB / 428.1 MB, free: 43.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.985e-05/0.2995, allocations: 12.66 kB / 428.2 MB, free: 43.69 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.994e-05/0.2995, allocations: 3.125 kB / 428.2 MB, free: 43.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.2995, allocations: 0.7031 kB / 428.2 MB, free: 43.69 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.016e-05/0.2996, allocations: 93.67 kB / 428.3 MB, free: 43.61 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2996, allocations: 0 / 428.3 MB, free: 43.61 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002213/0.2998, allocations: 17.97 kB / 428.3 MB, free: 43.61 MB / 330.7 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: 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 9.615e-05/0.2999, allocations: 106.3 kB / 428.4 MB, free: 43.52 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002169/0.3001, allocations: 58.97 kB / 428.4 MB, free: 43.51 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3001, allocations: 0 / 428.4 MB, free: 43.51 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.959e-05/0.3002, allocations: 31.06 kB / 428.5 MB, free: 43.5 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.3005, allocations: 12.98 kB / 428.5 MB, free: 43.49 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002849/0.3008, allocations: 198.1 kB / 428.7 MB, free: 43.32 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.538e-05/0.3009, allocations: 0.6919 MB / 429.4 MB, free: 42.62 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.478e-05/0.3009, allocations: 4.75 kB / 429.4 MB, free: 42.62 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.901e-05/0.3009, allocations: 10.2 kB / 429.4 MB, free: 42.62 MB / 330.7 MB Notification: Performance of SimCode: time 2.01e-07/0.3009, allocations: 0 / 429.4 MB, free: 42.62 MB / 330.7 MB Notification: Performance of Templates: time 0.002496/0.3034, allocations: 0.6246 MB / 430 MB, free: 42.54 MB / 330.7 MB make -j1 -f HanserModelica_HanserModelica.Electrical.TestBrush.makefile (rm -f HanserModelica_HanserModelica.Electrical.TestBrush.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.TestBrush.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.TestBrush.pipe >> ../files/HanserModelica_HanserModelica.Electrical.TestBrush.sim & ./HanserModelica_HanserModelica.Electrical.TestBrush -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.TestBrush.pipe 2>&1)