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.001161/0.001161, allocations: 109.8 kB / 20.43 MB, free: 4.594 MB / 13.93 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.003309/0.003309, allocations: 213.5 kB / 23.73 MB, free: 2.133 MB / 13.93 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.016/1.016, allocations: 230.6 MB / 257.5 MB, free: 9.586 MB / 202.7 MB " [Timeout remaining time 179] 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.156/0.156, allocations: 46.96 MB / 360.9 MB, free: 3.062 MB / 282.7 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ModelicaTest.Electrical.Machines.DCPM_SpeedControlled,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Machines.DCPM_SpeedControlled,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 71.88 kB / 0.4976 GB, free: 6.832 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1095, allocations: 66.04 MB / 0.5621 GB, free: 4.664 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.DCPM_SpeedControlled): time 0.004339/0.1138, allocations: 4.132 MB / 0.5661 GB, free: 0.5117 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.2085/0.3223, allocations: 1.535 MB / 0.5676 GB, free: 12.7 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004713/0.3228, allocations: 23.22 kB / 0.5677 GB, free: 12.7 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007711/0.3235, allocations: 280 kB / 0.5679 GB, free: 12.62 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003525/0.3239, allocations: 174.5 kB / 0.5681 GB, free: 12.54 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000469/0.3244, allocations: 277.5 kB / 0.5684 GB, free: 12.53 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009029/0.3253, allocations: 0.8443 MB / 0.5692 GB, free: 12.24 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004424/0.3257, allocations: 255.1 kB / 0.5694 GB, free: 12.09 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004685/0.3262, allocations: 314.9 kB / 0.5697 GB, free: 11.93 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003243/0.3265, allocations: 298.5 kB / 0.57 GB, free: 11.78 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.609e-05/0.3266, allocations: 80 kB / 0.5701 GB, free: 11.78 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.123e-05/0.3267, allocations: 81.69 kB / 0.5702 GB, free: 11.78 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 8.669e-05/0.3268, allocations: 174.1 kB / 0.5703 GB, free: 11.65 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001917/0.327, allocations: 302.8 kB / 0.5706 GB, free: 11.47 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008953/0.3279, allocations: 0.9424 MB / 0.5715 GB, free: 11.1 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.3279, allocations: 0 / 0.5715 GB, free: 11.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3279, allocations: 0 / 0.5715 GB, free: 11.1 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.886e-05/0.3279, allocations: 0.9375 kB / 0.5715 GB, free: 11.1 MB / 426.7 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.001209/0.3291, allocations: 0.9625 MB / 0.5725 GB, free: 10.45 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.867e-05/0.3292, allocations: 9.5 kB / 0.5725 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.227e-05/0.3292, allocations: 101.1 kB / 0.5726 GB, free: 10.38 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.3294, allocations: 85.36 kB / 0.5727 GB, free: 10.33 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005723/0.3299, allocations: 446.8 kB / 0.5731 GB, free: 10.03 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.179e-05/0.33, allocations: 48.06 kB / 0.5731 GB, free: 10.01 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.796e-05/0.33, allocations: 65.3 kB / 0.5732 GB, free: 9.984 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008117/0.3309, allocations: 0.6743 MB / 0.5739 GB, free: 9.609 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.3309, allocations: 1.312 kB / 0.5739 GB, free: 9.609 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.786e-05/0.3309, allocations: 27.91 kB / 0.5739 GB, free: 9.59 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/0.3309, allocations: 14.72 kB / 0.5739 GB, free: 9.59 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006363/0.3316, allocations: 424.1 kB / 0.5743 GB, free: 9.449 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002269/0.3338, allocations: 1.889 MB / 0.5762 GB, free: 8.223 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006994/0.3345, allocations: 404 kB / 0.5765 GB, free: 8.086 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001968/0.3347, allocations: 161.9 kB / 0.5767 GB, free: 8.023 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.3348, allocations: 5.531 kB / 0.5767 GB, free: 8.023 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.3348, allocations: 45.67 kB / 0.5767 GB, free: 7.973 MB / 426.7 MB Notification: Performance of pre-optimization done (n=32): time 1.874e-06/0.3348, allocations: 0 / 0.5767 GB, free: 7.973 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.001523/0.3363, allocations: 0.9942 MB / 0.5777 GB, free: 7.434 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.3363, allocations: 59.31 kB / 0.5778 GB, free: 7.367 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005161/0.3368, allocations: 0.5191 MB / 0.5783 GB, free: 7.113 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.3369, allocations: 32.75 kB / 0.5783 GB, free: 7.078 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.337, allocations: 354.6 kB / 0.5787 GB, free: 6.801 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.832e-05/0.3371, allocations: 127.8 kB / 0.5788 GB, free: 6.703 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.3372, allocations: 77.77 kB / 0.5788 GB, free: 6.652 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.085e-05/0.3373, allocations: 364.5 kB / 0.5792 GB, free: 6.316 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/0.3375, allocations: 148.6 kB / 0.5793 GB, free: 6.262 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000225/0.3377, allocations: 216.8 kB / 0.5795 GB, free: 6.133 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004134/0.3382, allocations: 359.3 kB / 0.5799 GB, free: 5.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.3382, allocations: 1.25 kB / 0.5799 GB, free: 5.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006185/0.3388, allocations: 488.8 kB / 0.5804 GB, free: 5.715 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.3388, allocations: 7.031 kB / 0.5804 GB, free: 5.715 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.3388, allocations: 7.25 kB / 0.5804 GB, free: 5.711 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001315/0.3389, allocations: 23.5 kB / 0.5804 GB, free: 5.699 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000249/0.3392, allocations: 103.5 kB / 0.5805 GB, free: 5.688 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000601/0.3398, allocations: 1.28 MB / 0.5817 GB, free: 4.402 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/0.34, allocations: 25.38 kB / 0.5818 GB, free: 4.395 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.34, allocations: 15.03 kB / 0.5818 GB, free: 4.391 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002794/0.3403, allocations: 254.1 kB / 0.582 GB, free: 4.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001795/0.3404, allocations: 203.4 kB / 0.5822 GB, free: 4.086 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003283/0.3408, allocations: 341.8 kB / 0.5825 GB, free: 3.859 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.064e-06/0.3408, allocations: 1.188 kB / 0.5825 GB, free: 3.859 MB / 426.7 MB Notification: Performance of matching and sorting (n=52) (initialization_lambda0): time 0.0004879/0.3413, allocations: 448.7 kB / 0.583 GB, free: 3.648 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.3413, allocations: 5.969 kB / 0.583 GB, free: 3.648 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3413, allocations: 2.5 kB / 0.583 GB, free: 3.648 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.807e-05/0.3413, allocations: 29.28 kB / 0.583 GB, free: 3.633 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002025/0.3415, allocations: 90.89 kB / 0.5831 GB, free: 3.625 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000471/0.342, allocations: 1.28 MB / 0.5843 GB, free: 2.348 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.3422, allocations: 20.94 kB / 0.5844 GB, free: 2.336 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.3422, allocations: 16.5 kB / 0.5844 GB, free: 2.332 MB / 426.7 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 9.911e-05/0.3423, allocations: 199.3 kB / 0.5846 GB, free: 2.137 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.479e-05/0.3424, allocations: 57.03 kB / 0.5846 GB, free: 2.105 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.806e-05/0.3424, allocations: 59.52 kB / 0.5847 GB, free: 2.066 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.3424, allocations: 7.344 kB / 0.5847 GB, free: 2.062 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.3424, allocations: 4.969 kB / 0.5847 GB, free: 2.059 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.3424, allocations: 1.734 kB / 0.5847 GB, free: 2.059 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.3436, allocations: 0.9632 MB / 0.5856 GB, free: 1.508 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.3436, allocations: 1.5 kB / 0.5856 GB, free: 1.508 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/0.3438, allocations: 68.36 kB / 0.5857 GB, free: 1.504 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.022e-05/0.3439, allocations: 22.89 kB / 0.5857 GB, free: 1.492 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.3439, allocations: 12.05 kB / 0.5857 GB, free: 1.484 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004439/0.3443, allocations: 1.272 MB / 0.587 GB, free: 208 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3443, allocations: 1.25 kB / 0.587 GB, free: 208 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007156/0.3451, allocations: 0.6246 MB / 0.5876 GB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.923e-05/0.3451, allocations: 62.94 kB / 0.5876 GB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.224e-05/0.3452, allocations: 13.03 kB / 0.5877 GB, free: 15.81 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.3453, allocations: 23.58 kB / 0.5877 GB, free: 15.81 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.227e-05/0.3453, allocations: 24.41 kB / 0.5877 GB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.3454, allocations: 7.156 kB / 0.5877 GB, free: 15.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003501/0.3457, allocations: 366.5 kB / 0.5881 GB, free: 15.63 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3457, allocations: 0 / 0.5881 GB, free: 15.63 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005052/0.3462, allocations: 184.2 kB / 0.5882 GB, free: 15.61 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (dcpm.inductor.i,dcpm.inertia.w,inertiaLoad.phi,deadTime.y,currentController.integrator.y,preFilter.y,speedController.integrator.y) * 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 (32): * Single equations (assignments): 31 * 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.0009115/0.3471, allocations: 1.18 MB / 0.5894 GB, free: 14.73 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009334/0.3481, allocations: 0.715 MB / 0.5901 GB, free: 14.35 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.3481, allocations: 1.469 kB / 0.5901 GB, free: 14.35 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002828/0.3483, allocations: 271.8 kB / 0.5903 GB, free: 14.18 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004368/0.3488, allocations: 104.8 kB / 0.5904 GB, free: 14.14 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005298/0.3541, allocations: 5.007 MB / 0.5953 GB, free: 11.26 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/0.3543, allocations: 292.4 kB / 0.5956 GB, free: 11.15 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002165/0.3546, allocations: 68.33 kB / 0.5957 GB, free: 11.14 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002189/0.3548, allocations: 229.3 kB / 0.5959 GB, free: 10.96 MB / 442.7 MB Notification: Performance of SimCode: time 7.91e-07/0.3548, allocations: 0 / 0.5959 GB, free: 10.96 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09382/0.4486, allocations: 12.18 MB / 0.6078 GB, free: 6.535 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.914/8.362, allocations: 13.97 kB / 0.6078 GB, free: 6.531 MB / 442.7 MB " [Timeout remaining time 652] (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 & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ModelicaTest_4.1.0_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled_res.mat --stripRoot --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --mode=me --timeout=240 --tolerance=1e-06 ../ModelicaTest_4_1_0_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled.fmu) > ModelicaTest_4.1.0_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Machines/DCPM_SpeedControlled/DCPM_SpeedControlled.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled_OMSimulator-cs-cvode.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled_OMSimulator-cs-cvode.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ModelicaTest_4.1.0_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --mode=cs --timeout=240 --tolerance=1e-06 ../ModelicaTest_4_1_0_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled_OMSimulator-cs-cvode.fmu) > ModelicaTest_4.1.0_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Machines/DCPM_SpeedControlled/DCPM_SpeedControlled.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled_OMSimulator-cs-euler.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled_OMSimulator-cs-euler.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ModelicaTest_4.1.0_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --mode=cs --timeout=240 --tolerance=1e-06 ../ModelicaTest_4_1_0_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled_OMSimulator-cs-euler.fmu) > ModelicaTest_4.1.0_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Machines/DCPM_SpeedControlled/DCPM_SpeedControlled.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,dcpm.iA,dcpm.w Variables in the result:currentController.KFF,currentController.Ti,currentController.add3.k1,currentController.add3.k2,currentController.add3.k3,currentController.add3.u1,currentController.add3.u2,currentController.add3.u3,currentController.add3.y,currentController.addAntiWindup.k1,currentController.addAntiWindup.k2,currentController.addAntiWindup.u1,currentController.addAntiWindup.u2,currentController.addAntiWindup.y,currentController.addSat.u1,currentController.addSat.u2,currentController.addSat.y,currentController.constantLimits,currentController.controlError,currentController.feedForward,currentController.feedback.u1,currentController.feedback.u2,currentController.feedback.y,currentController.initType,currentController.integrator.initType,currentController.integrator.k,currentController.integrator.u,currentController.integrator.use_reset,currentController.integrator.use_set,currentController.integrator.y,currentController.integrator.y_start,currentController.k,currentController.product.u1,currentController.product.u2,currentController.product.y,currentController.symmetricLimits,currentController.u,currentController.u_m,currentController.useConstantKFF,currentController.useFF,currentController.useI,currentController.variableLimiter.homotopyType,currentController.variableLimiter.limit1,currentController.variableLimiter.limit2,currentController.variableLimiter.strict,currentController.variableLimiter.u,currentController.variableLimiter.y,currentController.variableLimiter.ySimplified,currentController.x_start,currentController.y,currentController.yMax,currentController.yMin,currentController.y_start,currentSensor.i,currentSensor.n.i,currentSensor.n.v,currentSensor.p.i,currentSensor.p.v,dcpm.emf.flange.phi,dcpm.emf.flange.tau,dcpm.emf.i,dcpm.emf.k,dcpm.emf.n.i,dcpm.emf.n.v,dcpm.emf.p.i,dcpm.emf.p.v,dcpm.emf.phi,dcpm.emf.tau,dcpm.emf.tauElectrical,dcpm.emf.useSupport,dcpm.emf.v,dcpm.emf.w,dcpm.iA,dcpm.inductor.L,dcpm.inductor.i,dcpm.inductor.n.i,dcpm.inductor.n.v,dcpm.inductor.p.i,dcpm.inductor.p.v,dcpm.inductor.v,dcpm.inertia.J,dcpm.inertia.a,dcpm.inertia.flange_a.phi,dcpm.inertia.flange_a.tau,dcpm.inertia.flange_b.phi,dcpm.inertia.flange_b.tau,dcpm.inertia.phi,dcpm.inertia.stateSelect,dcpm.inertia.w,dcpm.machineData.IANominal,dcpm.machineData.J,dcpm.machineData.LA,dcpm.machineData.RA,dcpm.machineData.VANominal,dcpm.machineData.ViNominal,dcpm.machineData.kPhi,dcpm.machineData.tauNominal,dcpm.machineData.wNominal,dcpm.phi,dcpm.pin_n.i,dcpm.pin_n.v,dcpm.pin_p.i,dcpm.pin_p.v,dcpm.resistor.LossPower,dcpm.resistor.R,dcpm.resistor.R_actual,dcpm.resistor.T,dcpm.resistor.T_heatPort,dcpm.resistor.T_ref,dcpm.resistor.alpha,dcpm.resistor.i,dcpm.resistor.n.i,dcpm.resistor.n.v,dcpm.resistor.p.i,dcpm.resistor.p.v,dcpm.resistor.useHeatPort,dcpm.resistor.v,dcpm.shaft.phi,dcpm.shaft.tau,dcpm.speedSensor.flange.phi,dcpm.speedSensor.flange.tau,dcpm.speedSensor.w,dcpm.w,deadTime.T,deadTime.initType,deadTime.k,deadTime.u,deadTime.y,deadTime.y_start,der(currentController.integrator.y),der(dcpm.emf.phi),der(dcpm.inductor.i),der(dcpm.inertia.w),der(deadTime.y),der(inertiaLoad.phi),der(preFilter.y),der(speedController.integrator.y),driveData.IMax,driveData.JL,driveData.Td,driveData.VBat,driveData.controllerData.TiI,driveData.controllerData.Tiw,driveData.controllerData.Tsub,driveData.controllerData.kpI,driveData.controllerData.kpw,driveData.fSwitch,driveData.machineData.IANominal,driveData.machineData.J,driveData.machineData.LA,driveData.machineData.RA,driveData.machineData.VANominal,driveData.machineData.ViNominal,driveData.machineData.kPhi,driveData.machineData.tauNominal,driveData.machineData.wNominal,ground.p.i,ground.p.v,inertiaLoad.J,inertiaLoad.a,inertiaLoad.flange_a.phi,inertiaLoad.flange_a.tau,inertiaLoad.flange_b.phi,inertiaLoad.flange_b.tau,inertiaLoad.phi,inertiaLoad.stateSelect,inertiaLoad.w,preFilter.T,preFilter.initType,preFilter.k,preFilter.u,preFilter.y,preFilter.y_start,speedController.KFF,speedController.Ti,speedController.add3.k1,speedController.add3.k2,speedController.add3.k3,speedController.add3.u1,speedController.add3.u2,speedController.add3.u3,speedController.add3.y,speedController.addAntiWindup.k1,speedController.addAntiWindup.k2,speedController.addAntiWindup.u1,speedController.addAntiWindup.u2,speedController.addAntiWindup.y,speedController.addSat.u1,speedController.addSat.u2,speedController.addSat.y,speedController.constantLimits,speedController.controlError,speedController.feedback.u1,speedController.feedback.u2,speedController.feedback.y,speedController.initType,speedController.integrator.initType,speedController.integrator.k,speedController.integrator.u,speedController.integrator.use_reset,speedController.integrator.use_set,speedController.integrator.y,speedController.integrator.y_start,speedController.k,speedController.product.u1,speedController.product.u2,speedController.product.y,speedController.symmetricLimits,speedController.u,speedController.u_m,speedController.useConstantKFF,speedController.useFF,speedController.useI,speedController.variableLimiter.homotopyType,speedController.variableLimiter.limit1,speedController.variableLimiter.limit2,speedController.variableLimiter.strict,speedController.variableLimiter.u,speedController.variableLimiter.y,speedController.variableLimiter.ySimplified,speedController.x_start,speedController.y,speedController.yMax,speedController.yMin,speedController.y_start,time,torqueLoad.flange.phi,torqueLoad.flange.tau,torqueLoad.offsetTorque,torqueLoad.phi,torqueLoad.startTime,torqueLoad.stepTorque,torqueLoad.tau,torqueLoad.useSupport,voltageSource.i,voltageSource.n.i,voltageSource.n.v,voltageSource.p.i,voltageSource.p.v,voltageSource.v,wRef.height,wRef.offset,wRef.startTime,wRef.y filterSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled_OMSimulator-cs-euler.diff.mat", vars={"dcpm.iA"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Machines/DCPM_SpeedControlled/DCPM_SpeedControlled.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled_OMSimulator-cs-euler.diff.ref.mat", vars={"dcpm.iA"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled_fmpy.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled_fmpy.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ModelicaTest_4.1.0_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled_fmpy_res.csv --output-variables dcpm.iA dcpm.w --start-time 0 --stop-time 1 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 ../ModelicaTest_4_1_0_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled.fmu) > ModelicaTest_4.1.0_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Machines/DCPM_SpeedControlled/DCPM_SpeedControlled.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.767924999818206]