Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled.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.00126/0.00126, allocations: 110.8 kB / 21.19 MB, free: 0.6602 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.001453/0.001453, allocations: 205.2 kB / 24.48 MB, free: 3.961 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.439/1.439, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.2196/0.2196, allocations: 46.97 MB / 361.6 MB, free: 4.051 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_CurrentControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|dcpm.iA|dcpm.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled") translateModel(ModelicaTest.Electrical.Machines.DCPM_CurrentControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|dcpm.iA|dcpm.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 63.91 kB / 0.4973 GB, free: 7.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2997, allocations: 66.03 MB / 0.5618 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.DCPM_CurrentControlled): time 0.005778/0.3055, allocations: 3.707 MB / 0.5654 GB, free: 484 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002433/0.308, allocations: 1.386 MB / 0.5668 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002309/0.3082, allocations: 15.88 kB / 0.5668 GB, free: 15.06 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006642/0.3089, allocations: 246 kB / 0.567 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003017/0.3092, allocations: 142.8 kB / 0.5672 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003882/0.3095, allocations: 195.7 kB / 0.5674 GB, free: 14.49 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006649/0.3102, allocations: 0.6312 MB / 0.568 GB, free: 13.86 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003748/0.3106, allocations: 196.7 kB / 0.5682 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003514/0.3109, allocations: 251 kB / 0.5684 GB, free: 13.42 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002966/0.3112, allocations: 266.7 kB / 0.5687 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.927e-05/0.3113, allocations: 60 kB / 0.5687 GB, free: 13.1 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.988e-05/0.3114, allocations: 60 kB / 0.5688 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.3115, allocations: 135.5 kB / 0.5689 GB, free: 12.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002091/0.3117, allocations: 230.9 kB / 0.5691 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007474/0.3125, allocations: 0.7184 MB / 0.5698 GB, free: 11.96 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3125, allocations: 0 / 0.5698 GB, free: 11.96 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3125, allocations: 0 / 0.5698 GB, free: 11.96 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.355e-06/0.3125, allocations: 0 / 0.5698 GB, free: 11.96 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: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001341/0.3138, allocations: 0.7736 MB / 0.5706 GB, free: 11.15 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.3139, allocations: 12.03 kB / 0.5706 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.314, allocations: 64.52 kB / 0.5707 GB, free: 11.08 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006265/0.3146, allocations: 346.1 kB / 0.571 GB, free: 10.71 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.704e-05/0.3146, allocations: 37.38 kB / 0.571 GB, free: 10.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.082e-05/0.3147, allocations: 48.33 kB / 0.5711 GB, free: 10.63 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008501/0.3156, allocations: 0.5065 MB / 0.5716 GB, free: 10.09 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.3156, allocations: 3.938 kB / 0.5716 GB, free: 10.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.862e-05/0.3156, allocations: 20 kB / 0.5716 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.3156, allocations: 12 kB / 0.5716 GB, free: 10.06 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006125/0.3163, allocations: 303.8 kB / 0.5719 GB, free: 9.762 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002307/0.3186, allocations: 1.387 MB / 0.5732 GB, free: 8.309 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000798/0.3194, allocations: 297 kB / 0.5735 GB, free: 8.012 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000226/0.3196, allocations: 108.8 kB / 0.5736 GB, free: 7.902 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.3196, allocations: 4 kB / 0.5736 GB, free: 7.898 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.3196, allocations: 38.56 kB / 0.5737 GB, free: 7.852 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.523e-06/0.3197, allocations: 4 kB / 0.5737 GB, free: 7.848 MB / 414.1 MB Notification: Performance of matching and sorting (n=25): time 0.001655/0.3213, allocations: 0.7404 MB / 0.5744 GB, free: 7.074 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.3213, allocations: 55.41 kB / 0.5744 GB, free: 7.008 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004325/0.3218, allocations: 377.5 kB / 0.5748 GB, free: 6.629 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.963e-05/0.3218, allocations: 33.7 kB / 0.5748 GB, free: 6.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.322, allocations: 280.3 kB / 0.5751 GB, free: 6.312 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.855e-05/0.3221, allocations: 95.17 kB / 0.5752 GB, free: 6.219 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.3222, allocations: 57.45 kB / 0.5752 GB, free: 6.156 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.3224, allocations: 346.8 kB / 0.5756 GB, free: 5.809 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002188/0.3226, allocations: 100.8 kB / 0.5757 GB, free: 5.707 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002526/0.3228, allocations: 155.2 kB / 0.5758 GB, free: 5.531 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004515/0.3233, allocations: 258.7 kB / 0.5761 GB, free: 5.254 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3233, allocations: 0 / 0.5761 GB, free: 5.254 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006437/0.3239, allocations: 350 kB / 0.5764 GB, free: 4.902 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.3239, allocations: 11.94 kB / 0.5764 GB, free: 4.891 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.3239, allocations: 0 / 0.5764 GB, free: 4.891 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001402/0.3241, allocations: 28.78 kB / 0.5764 GB, free: 4.859 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003182/0.3244, allocations: 72.12 kB / 0.5765 GB, free: 4.789 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001104/0.3255, allocations: 1.252 MB / 0.5777 GB, free: 3.434 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001936/0.3257, allocations: 15.98 kB / 0.5777 GB, free: 3.418 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.3257, allocations: 12 kB / 0.5778 GB, free: 3.406 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002947/0.326, allocations: 204.1 kB / 0.578 GB, free: 3.203 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002144/0.3262, allocations: 147.4 kB / 0.5781 GB, free: 3.031 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003666/0.3266, allocations: 243.7 kB / 0.5783 GB, free: 2.766 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.853e-06/0.3266, allocations: 3.938 kB / 0.5783 GB, free: 2.762 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0005664/0.3272, allocations: 330.2 kB / 0.5786 GB, free: 2.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.486e-06/0.3272, allocations: 4 kB / 0.5787 GB, free: 2.426 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.475e-06/0.3272, allocations: 4 kB / 0.5787 GB, free: 2.422 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.491e-05/0.3273, allocations: 28.78 kB / 0.5787 GB, free: 2.391 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002701/0.3275, allocations: 67.91 kB / 0.5787 GB, free: 2.324 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001018/0.3286, allocations: 1.26 MB / 0.58 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/0.3287, allocations: 12.03 kB / 0.58 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/0.3287, allocations: 15.98 kB / 0.58 GB, free: 0.9336 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 (currentController.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * 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.0001443/0.3289, allocations: 200.2 kB / 0.5802 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.627e-05/0.329, allocations: 39.7 kB / 0.5802 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.483e-05/0.329, allocations: 47.39 kB / 0.5803 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.329, allocations: 4.156 kB / 0.5803 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.329, allocations: 0 / 0.5803 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.72e-05/0.3291, allocations: 35.75 kB / 0.5803 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.023e-05/0.3291, allocations: 4 kB / 0.5803 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.3294, allocations: 19.98 kB / 0.5803 GB, free: 0.582 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.975e-05/0.3294, allocations: 15.97 kB / 0.5804 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008042/0.3302, allocations: 369.5 kB / 0.5807 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000779/0.331, allocations: 0.5378 MB / 0.5812 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001997/0.3312, allocations: 91.94 kB / 0.5813 GB, free: 15.55 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002972/0.3315, allocations: 263.2 kB / 0.5816 GB, free: 15.29 MB / 430.1 MB Notification: Performance of Backend: time 4.71e-07/0.3315, allocations: 0 / 0.5816 GB, free: 15.29 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001184/0.3327, allocations: 0.5625 MB / 0.5821 GB, free: 14.7 MB / 430.1 MB Notification: Performance of SimCode: time 0.001927/0.3346, allocations: 1.463 MB / 0.5835 GB, free: 13.19 MB / 430.1 MB Notification: Performance of Templates: time 0.01143/0.346, allocations: 5.876 MB / 0.5893 GB, free: 7.375 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Machines/DCPM_CurrentControlled/DCPM_CurrentControlled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled.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: 4.98569980100001]