Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.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.008393/0.008393, allocations: 108.8 kB / 21.97 MB, free: 5.184 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.002261/0.002261, allocations: 220.3 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.445/1.445, allocations: 230.6 MB / 259 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex 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. Warning: Requested package ModelicaServices 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.001957/0.001957, allocations: 71.89 kB / 379.8 MB, free: 2.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.2691, allocations: 53.36 MB / 433.2 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01013/0.2792, allocations: 8.078 MB / 441.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005064/0.2843, allocations: 2.641 MB / 443.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009758/0.2853, allocations: 27.88 kB / 443.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001577/0.2869, allocations: 0.5751 MB / 444.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001315/0.2882, allocations: 496.3 kB / 445 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000505/0.2887, allocations: 231.8 kB / 445.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001607/0.2903, allocations: 1.432 MB / 446.6 MB, free: 9.453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006655/0.2909, allocations: 407.3 kB / 447 MB, free: 9.027 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000794/0.2917, allocations: 0.572 MB / 447.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007432/0.2925, allocations: 0.5755 MB / 448.2 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001721/0.2927, allocations: 139.9 kB / 448.3 MB, free: 7.738 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003337/0.293, allocations: 176 kB / 448.5 MB, free: 7.566 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002179/0.2932, allocations: 271 kB / 448.8 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006258/0.2938, allocations: 0.6493 MB / 449.4 MB, free: 6.648 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002382/0.2962, allocations: 1.7 MB / 451.1 MB, free: 4.941 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.2962, allocations: 0 / 451.1 MB, free: 4.941 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.2962, allocations: 0 / 451.1 MB, free: 4.941 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.475e-05/0.2963, allocations: 7.938 kB / 451.1 MB, free: 4.934 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002683/0.2989, allocations: 1.388 MB / 452.5 MB, free: 3.512 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.299, allocations: 12.03 kB / 452.5 MB, free: 3.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005868/0.2996, allocations: 176.1 kB / 452.7 MB, free: 3.328 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/0.3009, allocations: 0.6533 MB / 453.3 MB, free: 2.648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.42e-05/0.301, allocations: 74 kB / 453.4 MB, free: 2.578 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001507/0.3011, allocations: 96 kB / 453.5 MB, free: 2.484 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/0.3028, allocations: 0.9268 MB / 454.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.354e-05/0.3028, allocations: 7.891 kB / 454.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.806e-05/0.3029, allocations: 43.98 kB / 454.5 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.112e-05/0.3029, allocations: 24 kB / 454.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/0.3042, allocations: 0.6207 MB / 455.1 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005454/0.3097, allocations: 3.772 MB / 458.9 MB, free: 12.83 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006042/0.3103, allocations: 266.5 kB / 459.2 MB, free: 12.56 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002869/0.3106, allocations: 136.7 kB / 459.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.042e-05/0.3106, allocations: 15.92 kB / 459.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.774e-05/0.3106, allocations: 38.55 kB / 459.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.435e-06/0.3106, allocations: 0 / 459.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002463/0.3131, allocations: 1.039 MB / 460.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.166e-05/0.3132, allocations: 89.03 kB / 460.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/0.3143, allocations: 0.8254 MB / 461.3 MB, free: 10.35 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/0.3144, allocations: 29.7 kB / 461.3 MB, free: 10.31 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004582/0.3148, allocations: 0.585 MB / 461.9 MB, free: 9.719 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.3149, allocations: 127 kB / 462 MB, free: 9.594 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002027/0.3151, allocations: 134.6 kB / 462.2 MB, free: 9.457 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.3153, allocations: 330 kB / 462.5 MB, free: 9.129 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003193/0.3156, allocations: 145.9 kB / 462.6 MB, free: 8.984 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005829/0.3162, allocations: 460 kB / 463.1 MB, free: 8.395 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009296/0.3171, allocations: 0.6435 MB / 463.7 MB, free: 7.609 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.3171, allocations: 4 kB / 463.7 MB, free: 7.605 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001215/0.3183, allocations: 0.6931 MB / 464.4 MB, free: 6.902 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.799e-05/0.3184, allocations: 8 kB / 464.4 MB, free: 6.895 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.438e-05/0.3184, allocations: 12 kB / 464.4 MB, free: 6.883 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001839/0.3186, allocations: 36.78 kB / 464.5 MB, free: 6.844 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005065/0.3191, allocations: 159.7 kB / 464.6 MB, free: 6.688 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00117/0.3203, allocations: 1.291 MB / 465.9 MB, free: 5.285 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005164/0.3208, allocations: 36.14 kB / 466 MB, free: 5.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.675e-05/0.3208, allocations: 35.94 kB / 466 MB, free: 5.215 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (84): * Single equations (assignments): 83 * 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.0003814/0.3212, allocations: 257.8 kB / 466.2 MB, free: 4.953 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.3213, allocations: 95.38 kB / 466.3 MB, free: 4.859 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007509/0.3221, allocations: 374.3 kB / 466.7 MB, free: 4.477 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.3221, allocations: 11.94 kB / 466.7 MB, free: 4.465 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.3221, allocations: 8 kB / 466.7 MB, free: 4.457 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3221, allocations: 0 / 466.7 MB, free: 4.457 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001954/0.324, allocations: 1.239 MB / 468 MB, free: 3.145 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.324, allocations: 0 / 468 MB, free: 3.145 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003151/0.3244, allocations: 79.83 kB / 468 MB, free: 3.066 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.227e-05/0.3245, allocations: 24.84 kB / 468.1 MB, free: 3.039 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.229e-05/0.3245, allocations: 8 kB / 468.1 MB, free: 3.031 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001043/0.3255, allocations: 1.271 MB / 469.3 MB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.3255, allocations: 4.031 kB / 469.3 MB, free: 1.645 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.3266, allocations: 0.6284 MB / 470 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002668/0.3268, allocations: 119.4 kB / 470.1 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.805e-05/0.3269, allocations: 8 kB / 470.1 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003604/0.3273, allocations: 31.92 kB / 470.1 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.741e-05/0.3274, allocations: 23.95 kB / 470.2 MB, free: 0.793 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.3274, allocations: 15.94 kB / 470.2 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007955/0.3282, allocations: 0.5615 MB / 470.7 MB, free: 224 kB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3282, allocations: 0 / 470.7 MB, free: 224 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.000733/0.3289, allocations: 188 kB / 470.9 MB, free: 36 kB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,loadInertia.phi) * 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 (34): * Single equations (assignments): 33 * 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 Backend phase and start with SimCode phase: time 0.0002393/0.3291, allocations: 127.2 kB / 471 MB, free: 15.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001035/0.3302, allocations: 0.4886 MB / 471.5 MB, free: 15.4 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.3302, allocations: 4 kB / 471.5 MB, free: 15.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004206/0.3306, allocations: 259.2 kB / 471.8 MB, free: 15.13 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.3316, allocations: 215.8 kB / 472 MB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002976/0.3346, allocations: 1.747 MB / 473.7 MB, free: 13.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007494/0.3353, allocations: 0.9923 MB / 474.7 MB, free: 12.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001698/0.3355, allocations: 55.44 kB / 474.8 MB, free: 12.05 MB / 382.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3355, allocations: 0 / 474.8 MB, free: 12.05 MB / 382.1 MB Notification: Performance of Templates: time 0.02521/0.3607, allocations: 15.91 MB / 490.7 MB, free: 12.17 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.05746906506829]