Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.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.001843/0.001843, allocations: 110.4 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] 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.002309/0.002309, allocations: 209.7 kB / 24.49 MB, free: 3.965 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.447/1.447, allocations: 230.6 MB / 258.3 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.229/0.229, allocations: 46.97 MB / 361.6 MB, free: 4.035 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+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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(ModelicaTest.Electrical.Machines.DCPM_SpeedControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|dcpm.iA|dcpm.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled") translateModel(ModelicaTest.Electrical.Machines.DCPM_SpeedControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|dcpm.iA|dcpm.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 71.84 kB / 0.4973 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2817, allocations: 66.04 MB / 0.5618 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.DCPM_SpeedControlled): time 0.005913/0.2876, allocations: 4.123 MB / 0.5658 GB, free: 44 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002523/0.2902, allocations: 1.542 MB / 0.5673 GB, free: 14.49 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002713/0.2904, allocations: 27.81 kB / 0.5674 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006871/0.2911, allocations: 276.7 kB / 0.5676 GB, free: 14.2 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003457/0.2915, allocations: 178.5 kB / 0.5678 GB, free: 14.02 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004398/0.2919, allocations: 267.7 kB / 0.5681 GB, free: 13.76 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008555/0.2928, allocations: 0.8459 MB / 0.5689 GB, free: 12.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004326/0.2932, allocations: 278.7 kB / 0.5692 GB, free: 12.61 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004029/0.2936, allocations: 318.7 kB / 0.5695 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003594/0.294, allocations: 342.2 kB / 0.5698 GB, free: 11.96 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000101/0.2941, allocations: 84 kB / 0.5699 GB, free: 11.88 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.2942, allocations: 80 kB / 0.5699 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001338/0.2943, allocations: 167.4 kB / 0.5701 GB, free: 11.64 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002677/0.2946, allocations: 302.4 kB / 0.5704 GB, free: 11.34 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009312/0.2955, allocations: 0.9372 MB / 0.5713 GB, free: 10.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2955, allocations: 0 / 0.5713 GB, free: 10.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2955, allocations: 0 / 0.5713 GB, free: 10.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.2955, allocations: 0 / 0.5713 GB, free: 10.41 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.001633/0.2972, allocations: 0.968 MB / 0.5723 GB, free: 9.402 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.2972, allocations: 8.031 kB / 0.5723 GB, free: 9.395 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001439/0.2973, allocations: 88.42 kB / 0.5723 GB, free: 9.309 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007674/0.2981, allocations: 444 kB / 0.5728 GB, free: 8.848 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.84e-05/0.2982, allocations: 45.69 kB / 0.5728 GB, free: 8.805 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.2983, allocations: 68.31 kB / 0.5729 GB, free: 8.738 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.2994, allocations: 0.6783 MB / 0.5735 GB, free: 8.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/0.2994, allocations: 3.984 kB / 0.5735 GB, free: 8.016 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.387e-05/0.2994, allocations: 28 kB / 0.5736 GB, free: 7.988 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.2995, allocations: 12 kB / 0.5736 GB, free: 7.977 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008495/0.3003, allocations: 425 kB / 0.574 GB, free: 7.562 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003033/0.3033, allocations: 1.789 MB / 0.5757 GB, free: 5.711 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.3044, allocations: 406.6 kB / 0.5761 GB, free: 5.305 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003243/0.3047, allocations: 156.8 kB / 0.5763 GB, free: 5.148 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.304e-05/0.3047, allocations: 7.984 kB / 0.5763 GB, free: 5.141 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.3048, allocations: 38.56 kB / 0.5763 GB, free: 5.094 MB / 414.1 MB Notification: Performance of pre-optimization done (n=32): time 1.643e-06/0.3048, allocations: 0 / 0.5763 GB, free: 5.094 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.002132/0.3069, allocations: 0.9959 MB / 0.5773 GB, free: 4.059 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.3069, allocations: 51.41 kB / 0.5773 GB, free: 3.996 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005921/0.3075, allocations: 481.9 kB / 0.5778 GB, free: 3.516 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.546e-05/0.3076, allocations: 33.7 kB / 0.5778 GB, free: 3.477 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002737/0.3078, allocations: 368.5 kB / 0.5782 GB, free: 3.109 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.3079, allocations: 122.9 kB / 0.5783 GB, free: 2.988 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.3081, allocations: 78.12 kB / 0.5784 GB, free: 2.902 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.3082, allocations: 358.8 kB / 0.5787 GB, free: 2.543 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003115/0.3085, allocations: 150.5 kB / 0.5789 GB, free: 2.395 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003671/0.3089, allocations: 216.9 kB / 0.5791 GB, free: 2.156 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006699/0.3096, allocations: 368.1 kB / 0.5794 GB, free: 1.766 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.3096, allocations: 4 kB / 0.5794 GB, free: 1.762 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000891/0.3105, allocations: 477.4 kB / 0.5799 GB, free: 1.285 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.3105, allocations: 4 kB / 0.5799 GB, free: 1.281 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.3105, allocations: 4 kB / 0.5799 GB, free: 1.277 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001538/0.3107, allocations: 29.06 kB / 0.5799 GB, free: 1.246 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004103/0.3111, allocations: 107.8 kB / 0.58 GB, free: 1.141 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001085/0.3122, allocations: 1.26 MB / 0.5812 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002416/0.3124, allocations: 19.98 kB / 0.5813 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.803e-05/0.3124, allocations: 16 kB / 0.5813 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003854/0.3128, allocations: 253.1 kB / 0.5815 GB, free: 15.48 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002975/0.3131, allocations: 206.9 kB / 0.5817 GB, free: 15.25 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005239/0.3136, allocations: 336 kB / 0.582 GB, free: 14.88 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.864e-06/0.3136, allocations: 0 / 0.582 GB, free: 14.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=52) (initialization_lambda0): time 0.0007363/0.3144, allocations: 438.9 kB / 0.5825 GB, free: 14.45 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.3144, allocations: 4 kB / 0.5825 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.3144, allocations: 4 kB / 0.5825 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.853e-05/0.3145, allocations: 28.78 kB / 0.5825 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000345/0.3148, allocations: 91.83 kB / 0.5826 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009885/0.3158, allocations: 1.256 MB / 0.5838 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/0.316, allocations: 16 kB / 0.5838 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-05/0.316, allocations: 16 kB / 0.5838 GB, free: 12.93 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.0001685/0.3162, allocations: 208.1 kB / 0.584 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.491e-05/0.3163, allocations: 55.61 kB / 0.5841 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.3164, allocations: 52.84 kB / 0.5841 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3164, allocations: 0 / 0.5841 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.3164, allocations: 4 kB / 0.5841 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.137e-05/0.3165, allocations: 55.75 kB / 0.5842 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.428e-05/0.3166, allocations: 8 kB / 0.5842 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002647/0.3168, allocations: 27.91 kB / 0.5842 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.186e-05/0.3169, allocations: 19.95 kB / 0.5842 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001111/0.318, allocations: 477.4 kB / 0.5847 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001087/0.3191, allocations: 0.6902 MB / 0.5854 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000295/0.3194, allocations: 140 kB / 0.5855 GB, free: 11.18 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004373/0.3198, allocations: 322.9 kB / 0.5858 GB, free: 10.87 MB / 430.1 MB Notification: Performance of Backend: time 5.61e-07/0.3198, allocations: 3.938 kB / 0.5858 GB, free: 10.86 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001575/0.3214, allocations: 0.6753 MB / 0.5865 GB, free: 10.15 MB / 430.1 MB Notification: Performance of SimCode: time 0.002436/0.3238, allocations: 1.735 MB / 0.5882 GB, free: 8.375 MB / 430.1 MB Notification: Performance of Templates: time 0.01459/0.3384, allocations: 7.995 MB / 0.596 GB, free: 468 kB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Machines/DCPM_SpeedControlled/DCPM_SpeedControlled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.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: 5.024014157002966]