Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001939/0.001939, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001637/0.001637, allocations: 213.1 kB / 24.5 MB, free: 4.148 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.431/1.431, allocations: 230.5 MB / 258.1 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] 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(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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 67.91 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2383, allocations: 53.4 MB / 432.4 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.01045/0.2487, allocations: 8.324 MB / 440.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004943/0.2536, allocations: 2.762 MB / 443.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009036/0.2546, allocations: 31.88 kB / 443.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001583/0.2561, allocations: 0.5793 MB / 444.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001384/0.2575, allocations: 0.5002 MB / 444.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006173/0.2581, allocations: 275.6 kB / 444.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001971/0.2601, allocations: 1.506 MB / 446.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007357/0.2608, allocations: 399.3 kB / 446.8 MB, free: 8.305 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009554/0.2618, allocations: 0.5914 MB / 447.4 MB, free: 7.711 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008937/0.2627, allocations: 0.6145 MB / 448 MB, free: 7.094 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002021/0.2629, allocations: 140 kB / 448.1 MB, free: 6.957 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003854/0.2633, allocations: 188 kB / 448.3 MB, free: 6.773 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002398/0.2635, allocations: 286.9 kB / 448.6 MB, free: 6.492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007732/0.2643, allocations: 0.6726 MB / 449.3 MB, free: 5.816 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002295/0.2666, allocations: 1.768 MB / 451 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2666, allocations: 0 / 451 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2666, allocations: 0 / 451 MB, free: 4.047 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.512e-05/0.2666, allocations: 0 / 451 MB, free: 4.047 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.00282/0.2694, allocations: 1.446 MB / 452.5 MB, free: 2.566 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.2695, allocations: 12.03 kB / 452.5 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007869/0.2703, allocations: 208 kB / 452.7 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001416/0.2717, allocations: 0.6892 MB / 453.4 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.723e-05/0.2718, allocations: 74 kB / 453.5 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001591/0.2719, allocations: 99.95 kB / 453.6 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001747/0.2737, allocations: 0.9464 MB / 454.5 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.003e-05/0.2737, allocations: 7.969 kB / 454.5 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.371e-05/0.2738, allocations: 40 kB / 454.6 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.565e-05/0.2738, allocations: 28 kB / 454.6 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001376/0.2752, allocations: 0.6481 MB / 455.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005854/0.281, allocations: 3.805 MB / 459 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007208/0.2818, allocations: 353.8 kB / 459.4 MB, free: 11.4 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006218/0.2824, allocations: 265.3 kB / 459.6 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.444e-05/0.2824, allocations: 8 kB / 459.7 MB, free: 11.13 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.023e-05/0.2825, allocations: 38.56 kB / 459.7 MB, free: 11.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=41): time 2.444e-06/0.2825, allocations: 0 / 459.7 MB, free: 11.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.003013/0.2855, allocations: 1.346 MB / 461 MB, free: 9.703 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.872e-05/0.2855, allocations: 85.05 kB / 461.1 MB, free: 9.602 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.2867, allocations: 0.845 MB / 462 MB, free: 8.746 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.894e-05/0.2868, allocations: 29.7 kB / 462 MB, free: 8.711 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004704/0.2872, allocations: 0.5814 MB / 462.6 MB, free: 8.121 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/0.2874, allocations: 166.6 kB / 462.7 MB, free: 7.957 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001981/0.2876, allocations: 134.6 kB / 462.9 MB, free: 7.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.2877, allocations: 338 kB / 463.2 MB, free: 7.484 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003821/0.2881, allocations: 169.9 kB / 463.4 MB, free: 7.316 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006284/0.2887, allocations: 475.6 kB / 463.8 MB, free: 6.719 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.2897, allocations: 0.6799 MB / 464.5 MB, free: 5.906 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.453e-06/0.2898, allocations: 4 kB / 464.5 MB, free: 5.902 MB / 366.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001481/0.2912, allocations: 0.7794 MB / 465.3 MB, free: 5.109 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.2913, allocations: 11.98 kB / 465.3 MB, free: 5.098 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/0.2913, allocations: 15.94 kB / 465.3 MB, free: 5.082 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002809/0.2916, allocations: 81.94 kB / 465.4 MB, free: 4.996 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005295/0.2921, allocations: 159.7 kB / 465.6 MB, free: 4.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002673/0.2948, allocations: 2.931 MB / 468.5 MB, free: 1.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006352/0.2954, allocations: 44 kB / 468.5 MB, free: 1.637 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.435e-05/0.2954, allocations: 35.98 kB / 468.6 MB, free: 1.602 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.0004199/0.2959, allocations: 265.5 kB / 468.8 MB, free: 1.332 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/0.296, allocations: 91.44 kB / 468.9 MB, free: 1.242 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/0.2971, allocations: 0.5032 MB / 469.4 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.2971, allocations: 4 kB / 469.4 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.2971, allocations: 4 kB / 469.4 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.2971, allocations: 3.984 kB / 469.4 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002375/0.2995, allocations: 1.45 MB / 470.9 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/0.2995, allocations: 4 kB / 470.9 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003375/0.2998, allocations: 76.02 kB / 471 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002175/0.3, allocations: 77.89 kB / 471 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.07e-05/0.3001, allocations: 12 kB / 471 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00258/0.3026, allocations: 2.908 MB / 474 MB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/0.3026, allocations: 11.92 kB / 474 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001423/0.3041, allocations: 0.7982 MB / 474.8 MB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003624/0.3044, allocations: 127.4 kB / 474.9 MB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.3045, allocations: 11.94 kB / 474.9 MB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000448/0.305, allocations: 32.09 kB / 474.9 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.504e-05/0.3051, allocations: 47.62 kB / 475 MB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.882e-05/0.3051, allocations: 16 kB / 475 MB, free: 10.78 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008568/0.306, allocations: 0.5732 MB / 475.6 MB, free: 10.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.306, allocations: 0 / 475.6 MB, free: 10.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008935/0.3069, allocations: 208 kB / 475.8 MB, free: 10.01 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.000232/0.3071, allocations: 131 kB / 475.9 MB, free: 9.879 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00133/0.3084, allocations: 0.6868 MB / 476.6 MB, free: 9.168 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3084, allocations: 0 / 476.6 MB, free: 9.168 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007169/0.3091, allocations: 453.6 kB / 477 MB, free: 8.699 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.3102, allocations: 221.2 kB / 477.2 MB, free: 8.492 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003175/0.3134, allocations: 1.806 MB / 479 MB, free: 6.629 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006968/0.3141, allocations: 1.013 MB / 480.1 MB, free: 5.586 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001846/0.3143, allocations: 59.44 kB / 480.1 MB, free: 5.527 MB / 382.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3143, allocations: 0 / 480.1 MB, free: 5.527 MB / 382.1 MB Notification: Performance of Templates: time 0.02843/0.3427, allocations: 21.53 MB / 0.4899 GB, free: 24 kB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 9.32166362600401]