Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical1.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.FirstSteps.Electrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical1") translateModel(HanserModelica.FirstSteps.Electrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 177.3 kB / 15.43 MB, free: 5.766 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.06023/0.06023, allocations: 8.914 MB / 25.1 MB, free: 3.523 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.329/1.329, allocations: 225.7 MB / 253.7 MB, free: 5.191 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.0007239/0.0007239, allocations: 83.56 kB / 307 MB, free: 2.973 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003208/0.0003208, allocations: 8 kB / 370.3 MB, free: 3.609 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2477, allocations: 52.55 MB / 422.8 MB, free: 47.94 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical1): time 0.0005393/0.2483, allocations: 227.5 kB / 423.1 MB, free: 47.78 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001195/0.2484, allocations: 22.16 kB / 423.1 MB, free: 47.77 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.055e-05/0.2485, allocations: 0.5625 kB / 423.1 MB, free: 47.77 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.211e-05/0.2485, allocations: 2.781 kB / 423.1 MB, free: 47.77 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 2.815e-05/0.2485, allocations: 0 / 423.1 MB, free: 47.77 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001064/0.2487, allocations: 1.688 kB / 423.1 MB, free: 47.77 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 4.113e-05/0.2487, allocations: 7.109 kB / 423.1 MB, free: 47.77 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.784e-05/0.2488, allocations: 6.844 kB / 423.1 MB, free: 47.76 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.704e-05/0.2488, allocations: 10.69 kB / 423.1 MB, free: 47.75 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.95e-05/0.2488, allocations: 6.328 kB / 423.1 MB, free: 47.75 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.2489, allocations: 4.656 kB / 423.1 MB, free: 47.75 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.494e-06/0.2489, allocations: 1 kB / 423.1 MB, free: 47.75 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.36e-05/0.2489, allocations: 0.6562 kB / 423.1 MB, free: 47.75 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.697e-05/0.2489, allocations: 32.61 kB / 423.2 MB, free: 47.71 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 4.237e-05/0.249, allocations: 11.62 kB / 423.2 MB, free: 47.71 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.249, allocations: 1.312 kB / 423.2 MB, free: 47.71 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.249, allocations: 0 / 423.2 MB, free: 47.71 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.249, allocations: 0 / 423.2 MB, free: 47.71 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002516/0.2492, allocations: 313.1 kB / 423.5 MB, free: 47.36 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.2493, allocations: 9.406 kB / 423.5 MB, free: 47.36 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.866e-05/0.2493, allocations: 7.312 kB / 423.5 MB, free: 47.36 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.235e-05/0.2494, allocations: 165.5 kB / 423.6 MB, free: 47.16 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.2494, allocations: 1.438 kB / 423.6 MB, free: 47.16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.2494, allocations: 6.406 kB / 423.7 MB, free: 47.16 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.684e-05/0.2495, allocations: 32.78 kB / 423.7 MB, free: 47.12 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.2495, allocations: 4.484 kB / 423.7 MB, free: 47.12 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.2496, allocations: 3.938 kB / 423.7 MB, free: 47.12 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.2496, allocations: 1.094 kB / 423.7 MB, free: 47.12 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.591e-05/0.2496, allocations: 14.39 kB / 423.7 MB, free: 47.11 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001191/0.2497, allocations: 153 kB / 423.9 MB, free: 46.92 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.512e-05/0.2498, allocations: 39.05 kB / 423.9 MB, free: 46.89 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.698e-05/0.2498, allocations: 15.17 kB / 423.9 MB, free: 46.88 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.2499, allocations: 4.875 kB / 423.9 MB, free: 46.88 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.488e-05/0.2499, allocations: 35.73 kB / 424 MB, free: 46.84 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.2499, allocations: 0 / 424 MB, free: 46.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001288/0.25, allocations: 53.95 kB / 424 MB, free: 46.79 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.926e-05/0.25, allocations: 52.02 kB / 424.1 MB, free: 46.73 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.345e-05/0.2501, allocations: 103.8 kB / 424.2 MB, free: 46.62 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.11e-06/0.2501, allocations: 25.7 kB / 424.2 MB, free: 46.59 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.832e-05/0.2501, allocations: 81.62 kB / 424.3 MB, free: 46.51 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.2502, allocations: 11.7 kB / 424.3 MB, free: 46.5 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-06/0.2502, allocations: 0 / 424.3 MB, free: 46.5 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.227e-05/0.2502, allocations: 318.3 kB / 424.6 MB, free: 46.19 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.408e-05/0.2502, allocations: 4.656 kB / 424.6 MB, free: 46.19 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.111e-05/0.2503, allocations: 4.359 kB / 424.6 MB, free: 46.19 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.437e-05/0.2503, allocations: 26.17 kB / 424.6 MB, free: 46.17 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-06/0.2503, allocations: 2.531 kB / 424.6 MB, free: 46.17 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.07e-05/0.2504, allocations: 45.73 kB / 424.7 MB, free: 46.13 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.2504, allocations: 9.703 kB / 424.7 MB, free: 46.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.2504, allocations: 3.938 kB / 424.7 MB, free: 46.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.2504, allocations: 0.9062 kB / 424.7 MB, free: 46.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.143e-05/0.2505, allocations: 8.531 kB / 424.7 MB, free: 46.12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.2505, allocations: 5 kB / 424.7 MB, free: 46.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.628e-05/0.2505, allocations: 3.938 kB / 424.7 MB, free: 46.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.2505, allocations: 1.719 kB / 424.7 MB, free: 46.12 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 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.126e-05/0.2506, allocations: 113 kB / 424.8 MB, free: 46 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.544e-06/0.2506, allocations: 1.188 kB / 424.8 MB, free: 46 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.699e-05/0.2506, allocations: 12.14 kB / 424.8 MB, free: 45.99 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.2506, allocations: 1.188 kB / 424.8 MB, free: 45.99 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.2506, allocations: 0.6562 kB / 424.8 MB, free: 45.99 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2507, allocations: 1.188 kB / 424.8 MB, free: 45.99 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.576e-05/0.2507, allocations: 161 kB / 425 MB, free: 45.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2507, allocations: 3.938 kB / 425 MB, free: 45.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.156e-05/0.2508, allocations: 8.984 kB / 425 MB, free: 45.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.2508, allocations: 1.672 kB / 425 MB, free: 45.79 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.2508, allocations: 7.938 kB / 425 MB, free: 45.78 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.2508, allocations: 0.9688 kB / 425 MB, free: 45.78 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2508, allocations: 0 / 425 MB, free: 45.78 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001003/0.2509, allocations: 75.7 kB / 425.1 MB, free: 45.71 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.447e-05/0.251, allocations: 85.77 kB / 425.2 MB, free: 45.61 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.251, allocations: 6.078 kB / 425.2 MB, free: 45.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.676e-05/0.251, allocations: 0 / 425.2 MB, free: 45.61 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.064e-05/0.251, allocations: 2.109 kB / 425.2 MB, free: 45.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.251, allocations: 1.672 kB / 425.2 MB, free: 45.61 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.988e-05/0.2511, allocations: 82.55 kB / 425.3 MB, free: 45.53 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2511, allocations: 0 / 425.3 MB, free: 45.53 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001724/0.2512, allocations: 6.531 kB / 425.3 MB, free: 45.52 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (i) * 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 (3): * Single equations (assignments): 3 * 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 7.246e-05/0.2513, allocations: 106.7 kB / 425.4 MB, free: 45.43 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.109e-05/0.2514, allocations: 17.77 kB / 425.4 MB, free: 45.42 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2514, allocations: 0 / 425.4 MB, free: 45.42 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.456e-05/0.2514, allocations: 6.516 kB / 425.4 MB, free: 45.42 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.2516, allocations: 1.672 kB / 425.4 MB, free: 45.42 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002016/0.2518, allocations: 120.9 kB / 425.5 MB, free: 45.3 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.254e-05/0.2519, allocations: 0.6793 MB / 426.2 MB, free: 44.6 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.648e-05/0.2519, allocations: 6.234 kB / 426.2 MB, free: 44.6 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.809e-05/0.2519, allocations: 8.844 kB / 426.2 MB, free: 44.59 MB / 330.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2519, allocations: 0 / 426.2 MB, free: 44.59 MB / 330.7 MB Notification: Performance of Templates: time 0.001706/0.2536, allocations: 231.7 kB / 426.4 MB, free: 44.55 MB / 330.7 MB make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical1.makefile (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical1.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe 2>&1)