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.DCSE_SinglePhase.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.001507/0.001507, allocations: 117.9 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.001686/0.001686, allocations: 202.8 kB / 24.46 MB, free: 3.902 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.392/1.392, allocations: 230.5 MB / 258.1 MB, free: 8.133 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.DCSE_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") [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.001901/0.001901, allocations: 63.83 kB / 378.7 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2365, allocations: 53.33 MB / 432.1 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.01027/0.2468, allocations: 8.305 MB / 440.4 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005078/0.2519, allocations: 2.762 MB / 443.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009448/0.2528, allocations: 23.94 kB / 443.2 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001548/0.2544, allocations: 0.5793 MB / 443.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001194/0.2556, allocations: 0.5079 MB / 444.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000552/0.2561, allocations: 271.6 kB / 444.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001657/0.2578, allocations: 1.502 MB / 446 MB, free: 9.375 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006593/0.2584, allocations: 402.9 kB / 446.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008137/0.2592, allocations: 0.572 MB / 447 MB, free: 8.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007746/0.26, allocations: 0.6183 MB / 447.6 MB, free: 7.762 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00017/0.2602, allocations: 140 kB / 447.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003353/0.2605, allocations: 184 kB / 447.9 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002408/0.2608, allocations: 283 kB / 448.2 MB, free: 7.168 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006136/0.2614, allocations: 0.6765 MB / 448.9 MB, free: 6.488 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001996/0.2634, allocations: 1.768 MB / 450.6 MB, free: 4.715 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.2634, allocations: 0 / 450.6 MB, free: 4.715 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2634, allocations: 0 / 450.6 MB, free: 4.715 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.216e-05/0.2634, allocations: 0 / 450.6 MB, free: 4.715 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.002623/0.266, allocations: 1.521 MB / 452.2 MB, free: 3.141 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.2661, allocations: 12.03 kB / 452.2 MB, free: 3.129 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007491/0.2668, allocations: 208 kB / 452.4 MB, free: 2.926 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001335/0.2681, allocations: 0.7665 MB / 453.1 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.554e-05/0.2682, allocations: 74 kB / 453.2 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.2684, allocations: 99.95 kB / 453.3 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001614/0.27, allocations: 0.9541 MB / 454.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.286e-05/0.27, allocations: 4 kB / 454.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.278e-05/0.2701, allocations: 40 kB / 454.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.305e-05/0.2701, allocations: 24 kB / 454.3 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/0.2714, allocations: 0.6442 MB / 455 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005437/0.2768, allocations: 3.927 MB / 458.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007519/0.2776, allocations: 423.7 kB / 459.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000631/0.2782, allocations: 263.2 kB / 459.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.392e-05/0.2783, allocations: 7.984 kB / 459.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.2783, allocations: 42.56 kB / 459.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of pre-optimization done (n=41): time 2.655e-06/0.2783, allocations: 0 / 459.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.003208/0.2815, allocations: 1.572 MB / 461.2 MB, free: 9.684 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.616e-05/0.2816, allocations: 81.11 kB / 461.3 MB, free: 9.586 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/0.2827, allocations: 0.8411 MB / 462.1 MB, free: 8.734 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.061e-05/0.2828, allocations: 29.7 kB / 462.1 MB, free: 8.699 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004607/0.2832, allocations: 0.5775 MB / 462.7 MB, free: 8.113 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/0.2834, allocations: 174.6 kB / 462.9 MB, free: 7.941 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001887/0.2836, allocations: 126.6 kB / 463 MB, free: 7.812 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.2837, allocations: 337.9 kB / 463.3 MB, free: 7.477 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000368/0.2841, allocations: 173.9 kB / 463.5 MB, free: 7.305 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006054/0.2847, allocations: 475.6 kB / 464 MB, free: 6.703 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.2857, allocations: 0.6761 MB / 464.6 MB, free: 5.895 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.2857, allocations: 8 kB / 464.7 MB, free: 5.887 MB / 366.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001434/0.2871, allocations: 0.7908 MB / 465.4 MB, free: 5.082 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.2872, allocations: 15.94 kB / 465.5 MB, free: 5.066 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.252e-05/0.2872, allocations: 8 kB / 465.5 MB, free: 5.059 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002681/0.2875, allocations: 81.92 kB / 465.5 MB, free: 4.973 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005217/0.288, allocations: 159.7 kB / 465.7 MB, free: 4.816 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002809/0.2908, allocations: 3.139 MB / 468.8 MB, free: 1.398 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005888/0.2914, allocations: 39.94 kB / 468.9 MB, free: 1.359 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.027e-05/0.2914, allocations: 40.06 kB / 468.9 MB, free: 1.32 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (85): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004213/0.2919, allocations: 261.5 kB / 469.2 MB, free: 1.055 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/0.292, allocations: 91.53 kB / 469.3 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/0.293, allocations: 0.5109 MB / 469.8 MB, free: 448 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.293, allocations: 4 kB / 469.8 MB, free: 444 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.293, allocations: 4 kB / 469.8 MB, free: 440 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.293, allocations: 128 / 469.8 MB, free: 440 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002349/0.2954, allocations: 1.481 MB / 471.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.2954, allocations: 0 / 471.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00033/0.2957, allocations: 71.91 kB / 471.3 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002068/0.2959, allocations: 69.67 kB / 471.4 MB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.949e-05/0.296, allocations: 16.16 kB / 471.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002718/0.2987, allocations: 3.119 MB / 474.5 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/0.2987, allocations: 12.02 kB / 474.6 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/0.3001, allocations: 0.8019 MB / 475.4 MB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003608/0.3005, allocations: 204.5 kB / 475.6 MB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.3006, allocations: 15.94 kB / 475.6 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004326/0.301, allocations: 27.97 kB / 475.6 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.54e-05/0.3011, allocations: 39.7 kB / 475.6 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.923e-05/0.3012, allocations: 19.94 kB / 475.7 MB, free: 10.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000856/0.302, allocations: 0.5771 MB / 476.2 MB, free: 9.551 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.302, allocations: 0 / 476.2 MB, free: 9.551 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008698/0.3029, allocations: 207.9 kB / 476.4 MB, free: 9.348 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (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.0002223/0.3031, allocations: 127.2 kB / 476.6 MB, free: 9.215 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00128/0.3044, allocations: 0.6699 MB / 477.2 MB, free: 8.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3044, allocations: 1.812 kB / 477.2 MB, free: 8.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007033/0.3051, allocations: 457.4 kB / 477.7 MB, free: 8.047 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/0.3062, allocations: 229 kB / 477.9 MB, free: 7.832 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003051/0.3092, allocations: 1.82 MB / 479.7 MB, free: 5.953 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006897/0.3099, allocations: 1.013 MB / 480.7 MB, free: 4.914 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001676/0.3101, allocations: 59.44 kB / 480.8 MB, free: 4.855 MB / 382.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3101, allocations: 4 kB / 480.8 MB, free: 4.852 MB / 382.1 MB Notification: Performance of Templates: time 0.02807/0.3382, allocations: 21.52 MB / 0.4905 GB, free: 15.36 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_SinglePhase/DCSE_SinglePhase.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.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: 8.800390353891999]