Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.Signals.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002152/0.002152, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.529/1.529, allocations: 230.6 MB / 253.4 MB, free: 14.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001728/0.001728, allocations: 210.5 kB / 310 MB, free: 3.059 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.04293/0.04293, allocations: 8.918 MB / 375.3 MB, free: 6.574 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Electrical.Signals,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Signals") translateModel(HanserModelica.Electrical.Signals,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Signals") [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002528/0.002528, allocations: 87.86 kB / 0.4904 GB, free: 44.26 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1079, allocations: 55.6 MB / 0.5447 GB, free: 4.551 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Signals): time 0.004379/0.1123, allocations: 2.151 MB / 0.5468 GB, free: 2.387 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.1134, allocations: 0.4948 MB / 0.5472 GB, free: 1.887 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.1135, allocations: 4 kB / 0.5472 GB, free: 1.883 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001593/0.1136, allocations: 31.72 kB / 0.5473 GB, free: 1.852 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.239e-05/0.1137, allocations: 39.64 kB / 0.5473 GB, free: 1.812 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001828/0.1139, allocations: 39.94 kB / 0.5474 GB, free: 1.773 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002534/0.1142, allocations: 163.3 kB / 0.5475 GB, free: 1.613 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.1143, allocations: 46.22 kB / 0.5475 GB, free: 1.57 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.081e-05/0.1144, allocations: 67.72 kB / 0.5476 GB, free: 1.504 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.1146, allocations: 59.62 kB / 0.5477 GB, free: 1.445 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.387e-05/0.1146, allocations: 16 kB / 0.5477 GB, free: 1.43 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.996e-05/0.1146, allocations: 12 kB / 0.5477 GB, free: 1.418 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.811e-05/0.1147, allocations: 27.92 kB / 0.5477 GB, free: 1.391 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.951e-05/0.1147, allocations: 67.61 kB / 0.5478 GB, free: 1.324 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002714/0.115, allocations: 175.3 kB / 0.548 GB, free: 1.152 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.115, allocations: 0 / 0.548 GB, free: 1.152 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.115, allocations: 0 / 0.548 GB, free: 1.152 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.115, allocations: 0 / 0.548 GB, free: 1.152 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006768/0.1157, allocations: 377.7 kB / 0.5483 GB, free: 0.7539 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.1157, allocations: 15.92 kB / 0.5483 GB, free: 0.7383 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.4e-05/0.1158, allocations: 20.8 kB / 0.5484 GB, free: 0.7188 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003191/0.1161, allocations: 168.1 kB / 0.5485 GB, free: 0.5312 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.1161, allocations: 12.31 kB / 0.5485 GB, free: 0.5195 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.897e-05/0.1162, allocations: 20.36 kB / 0.5485 GB, free: 0.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003398/0.1165, allocations: 186.8 kB / 0.5487 GB, free: 304 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1165, allocations: 0 / 0.5487 GB, free: 304 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.014e-05/0.1165, allocations: 8 kB / 0.5487 GB, free: 296 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-06/0.1166, allocations: 4 kB / 0.5487 GB, free: 292 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001997/0.1168, allocations: 92.73 kB / 0.5488 GB, free: 200 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009667/0.1177, allocations: 0.6363 MB / 0.5494 GB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002138/0.1179, allocations: 70.61 kB / 0.5495 GB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.427e-05/0.118, allocations: 36.84 kB / 0.5495 GB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.118, allocations: 0 / 0.5495 GB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.1181, allocations: 38.5 kB / 0.5496 GB, free: 15.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.1181, allocations: 0 / 0.5496 GB, free: 15.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003064/0.1184, allocations: 101.6 kB / 0.5497 GB, free: 15.24 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/0.1184, allocations: 55.39 kB / 0.5497 GB, free: 15.17 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.1186, allocations: 155.6 kB / 0.5499 GB, free: 15 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/0.1186, allocations: 29.7 kB / 0.5499 GB, free: 14.97 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.1187, allocations: 139.7 kB / 0.55 GB, free: 14.83 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.1188, allocations: 27.78 kB / 0.5501 GB, free: 14.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.399e-05/0.1188, allocations: 29.67 kB / 0.5501 GB, free: 14.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.119, allocations: 322.8 kB / 0.5504 GB, free: 14.44 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.768e-05/0.1191, allocations: 27.98 kB / 0.5504 GB, free: 14.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.926e-05/0.1192, allocations: 70.95 kB / 0.5505 GB, free: 14.33 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.1193, allocations: 96.3 kB / 0.5506 GB, free: 14.22 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.1193, allocations: 0 / 0.5506 GB, free: 14.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002364/0.1196, allocations: 125.5 kB / 0.5507 GB, free: 14.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.1196, allocations: 12.12 kB / 0.5507 GB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1196, allocations: 0 / 0.5507 GB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.1196, allocations: 0 / 0.5507 GB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.1197, allocations: 27.92 kB / 0.5507 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.1198, allocations: 7.938 kB / 0.5508 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.653e-05/0.1198, allocations: 15.89 kB / 0.5508 GB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.1198, allocations: 4 kB / 0.5508 GB, free: 14.03 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0001162/0.12, allocations: 129.8 kB / 0.5509 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.776e-05/0.12, allocations: 11.95 kB / 0.5509 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.422e-05/0.12, allocations: 12.72 kB / 0.5509 GB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.12, allocations: 4 kB / 0.5509 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.12, allocations: 3.938 kB / 0.5509 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.12, allocations: 0 / 0.5509 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.1202, allocations: 145.3 kB / 0.5511 GB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1202, allocations: 0 / 0.5511 GB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.1204, allocations: 23.92 kB / 0.5511 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1204, allocations: 0 / 0.5511 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.1204, allocations: 4 kB / 0.5511 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1204, allocations: 0 / 0.5511 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1204, allocations: 0 / 0.5511 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003223/0.1207, allocations: 215.7 kB / 0.5513 GB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.85e-05/0.1207, allocations: 3.953 kB / 0.5513 GB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.272e-05/0.1207, allocations: 8 kB / 0.5513 GB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.567e-05/0.1208, allocations: 7.984 kB / 0.5513 GB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.1209, allocations: 3.984 kB / 0.5513 GB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.1209, allocations: 7.938 kB / 0.5513 GB, free: 13.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001073/0.121, allocations: 120.9 kB / 0.5514 GB, free: 13.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.121, allocations: 0 / 0.5514 GB, free: 13.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002606/0.1213, allocations: 31.89 kB / 0.5515 GB, free: 13.25 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inductor.i,integrator.y) * 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 (7): * Single equations (assignments): 7 * 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 0.0001063/0.1214, allocations: 95.31 kB / 0.5516 GB, free: 13.15 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002129/0.1216, allocations: 71.92 kB / 0.5516 GB, free: 13.08 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1216, allocations: 0 / 0.5516 GB, free: 13.08 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.695e-05/0.1216, allocations: 32.05 kB / 0.5517 GB, free: 13.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.122, allocations: 17.7 kB / 0.5517 GB, free: 13.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008492/0.1228, allocations: 406.8 kB / 0.5521 GB, free: 12.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.1229, allocations: 106.7 kB / 0.5522 GB, free: 12.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.386e-05/0.123, allocations: 15.44 kB / 0.5522 GB, free: 12.46 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.123, allocations: 0 / 0.5522 GB, free: 12.46 MB / 382.1 MB Notification: Performance of Templates: time 0.003632/0.1266, allocations: 1.538 MB / 0.5537 GB, free: 10.93 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Electrical.Signals.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Electrical.Signals.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.Signals.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.Signals.pipe >> ../files/HanserModelica_HanserModelica.Electrical.Signals.sim & ./HanserModelica_HanserModelica.Electrical.Signals -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.Signals.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.55944504076615] Failed to read output from testmodel.py, exit status != 0: 0.13510866789147258 0.41015842500000005 0.29177112 Calling exit ...