Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001442/0.001442, allocations: 110.3 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001499/0.001499, allocations: 207.1 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 230.2 MB / 257.8 MB, free: 8.504 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2272/0.2272, allocations: 46.89 MB / 361.1 MB, free: 4.625 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.Machines.DCPM_SpeedControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled") translateModel(ModelicaTest.Electrical.Machines.DCPM_SpeedControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002466/0.002466, allocations: 83.84 kB / 0.4968 GB, free: 7.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3153, allocations: 65.98 MB / 0.5612 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.DCPM_SpeedControlled): time 0.006568/0.3219, allocations: 4.601 MB / 0.5657 GB, free: 428 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003247/0.3251, allocations: 1.663 MB / 0.5673 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000603/0.3257, allocations: 19.88 kB / 0.5673 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009259/0.3266, allocations: 294 kB / 0.5676 GB, free: 14.44 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004678/0.3271, allocations: 174.5 kB / 0.5678 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005633/0.3277, allocations: 271.6 kB / 0.568 GB, free: 14 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000992/0.3287, allocations: 0.8535 MB / 0.5689 GB, free: 13.14 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004801/0.3291, allocations: 274.3 kB / 0.5691 GB, free: 12.86 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004391/0.3296, allocations: 306.7 kB / 0.5694 GB, free: 12.55 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004096/0.33, allocations: 346.3 kB / 0.5698 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.3301, allocations: 80 kB / 0.5698 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.3302, allocations: 80 kB / 0.5699 GB, free: 12.06 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.3303, allocations: 171.3 kB / 0.5701 GB, free: 11.89 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003324/0.3307, allocations: 378 kB / 0.5704 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00101/0.3317, allocations: 0.9297 MB / 0.5713 GB, free: 10.59 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3317, allocations: 0 / 0.5713 GB, free: 10.59 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3317, allocations: 0 / 0.5713 GB, free: 10.59 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.3317, allocations: 3.938 kB / 0.5713 GB, free: 10.58 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.001743/0.3334, allocations: 1.047 MB / 0.5724 GB, free: 9.484 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.3335, allocations: 8.031 kB / 0.5724 GB, free: 9.477 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/0.3336, allocations: 84.42 kB / 0.5725 GB, free: 9.395 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008305/0.3344, allocations: 0.4941 MB / 0.5729 GB, free: 8.859 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.007e-05/0.3345, allocations: 53.67 kB / 0.573 GB, free: 8.805 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-05/0.3346, allocations: 68.27 kB / 0.573 GB, free: 8.738 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.3357, allocations: 0.5875 MB / 0.5736 GB, free: 8.129 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.607e-05/0.3357, allocations: 8 kB / 0.5736 GB, free: 8.121 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.02e-05/0.3357, allocations: 20 kB / 0.5737 GB, free: 8.102 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/0.3358, allocations: 20 kB / 0.5737 GB, free: 8.082 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009167/0.3367, allocations: 417 kB / 0.5741 GB, free: 7.672 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003252/0.3399, allocations: 2.152 MB / 0.5762 GB, free: 5.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/0.3411, allocations: 0.5466 MB / 0.5767 GB, free: 4.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003436/0.3414, allocations: 164.7 kB / 0.5769 GB, free: 4.676 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.3415, allocations: 0 / 0.5769 GB, free: 4.676 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/0.3415, allocations: 42.5 kB / 0.5769 GB, free: 4.625 MB / 414.1 MB Notification: Performance of pre-optimization done (n=32): time 2.074e-06/0.3415, allocations: 0 / 0.5769 GB, free: 4.625 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.002499/0.344, allocations: 1.14 MB / 0.578 GB, free: 3.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.3441, allocations: 59.39 kB / 0.5781 GB, free: 3.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007583/0.3448, allocations: 0.5145 MB / 0.5786 GB, free: 2.812 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/0.3449, allocations: 33.7 kB / 0.5786 GB, free: 2.773 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002909/0.3452, allocations: 352.8 kB / 0.5789 GB, free: 2.426 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.3453, allocations: 122.9 kB / 0.5791 GB, free: 2.305 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.3454, allocations: 78.08 kB / 0.5791 GB, free: 2.219 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002461/0.3456, allocations: 366.8 kB / 0.5795 GB, free: 1.852 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003387/0.346, allocations: 142.5 kB / 0.5796 GB, free: 1.711 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003944/0.3464, allocations: 224.8 kB / 0.5798 GB, free: 1.465 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000704/0.3471, allocations: 368.1 kB / 0.5802 GB, free: 1.074 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3471, allocations: 0 / 0.5802 GB, free: 1.074 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009424/0.348, allocations: 485.3 kB / 0.5806 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.3481, allocations: 8 kB / 0.5807 GB, free: 0.582 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.3481, allocations: 4.266 kB / 0.5807 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001483/0.3482, allocations: 28.8 kB / 0.5807 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004452/0.3487, allocations: 103.9 kB / 0.5808 GB, free: 456 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001369/0.35, allocations: 1.375 MB / 0.5821 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003229/0.3503, allocations: 23.98 kB / 0.5822 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.104e-05/0.3504, allocations: 19.98 kB / 0.5822 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004698/0.3508, allocations: 257.1 kB / 0.5824 GB, free: 14.63 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003225/0.3512, allocations: 206.9 kB / 0.5826 GB, free: 14.39 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005344/0.3517, allocations: 336 kB / 0.5829 GB, free: 14.03 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.673e-06/0.3517, allocations: 0 / 0.5829 GB, free: 14.03 MB / 430.1 MB Notification: Performance of matching and sorting (n=52) (initialization_lambda0): time 0.0007947/0.3525, allocations: 442.9 kB / 0.5834 GB, free: 13.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.3525, allocations: 10.12 kB / 0.5834 GB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3525, allocations: 4 kB / 0.5834 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.816e-05/0.3526, allocations: 28.78 kB / 0.5834 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003595/0.353, allocations: 87.91 kB / 0.5835 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001142/0.3541, allocations: 1.387 MB / 0.5848 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002378/0.3544, allocations: 24.14 kB / 0.5849 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.54e-05/0.3544, allocations: 19.94 kB / 0.5849 GB, free: 11.89 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (speedController.integrator.local_reset,currentController.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001771/0.3546, allocations: 200.1 kB / 0.5851 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.767e-05/0.3547, allocations: 55.67 kB / 0.5851 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001177/0.3548, allocations: 57.28 kB / 0.5852 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.84e-06/0.3548, allocations: 0 / 0.5852 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.3548, allocations: 0 / 0.5852 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/0.3549, allocations: 136.7 kB / 0.5853 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.289e-05/0.355, allocations: 8 kB / 0.5853 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002676/0.3552, allocations: 27.97 kB / 0.5853 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.48e-05/0.3553, allocations: 23.97 kB / 0.5854 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001156/0.3565, allocations: 473.4 kB / 0.5858 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00117/0.3576, allocations: 0.7057 MB / 0.5865 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002943/0.3579, allocations: 135.8 kB / 0.5866 GB, free: 10.04 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004741/0.3584, allocations: 366.9 kB / 0.587 GB, free: 9.68 MB / 430.1 MB Notification: Performance of Backend: time 4.81e-07/0.3584, allocations: 4 kB / 0.587 GB, free: 9.676 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001467/0.3599, allocations: 0.6763 MB / 0.5876 GB, free: 8.969 MB / 430.1 MB Notification: Performance of SimCode: time 0.002431/0.3623, allocations: 1.742 MB / 0.5893 GB, free: 7.172 MB / 430.1 MB Notification: Performance of Templates: time 0.01417/0.3765, allocations: 7.289 MB / 0.5965 GB, free: 15.91 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.925571647938341] Failed to read output from testmodel.py, exit status != 0: 0.38543774792924523 0.39922311800000004 0.064511442 Calling exit ...