Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.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.001402/0.001402, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002245/0.002245, allocations: 214.3 kB / 23.73 MB, free: 4.164 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.471/1.471, allocations: 230.5 MB / 257.4 MB, free: 7.793 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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002519/0.002519, allocations: 59.91 kB / 377.7 MB, free: 2.816 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2615, allocations: 53.41 MB / 431.1 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.009135/0.2706, allocations: 6.359 MB / 437.5 MB, free: 56 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004294/0.2749, allocations: 2.209 MB / 439.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007763/0.2757, allocations: 23.88 kB / 439.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001619/0.2773, allocations: 481.1 kB / 440.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001512/0.2788, allocations: 413 kB / 440.6 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005783/0.2794, allocations: 199.8 kB / 440.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001797/0.2812, allocations: 1.209 MB / 442 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006232/0.2818, allocations: 316.5 kB / 442.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008043/0.2826, allocations: 478.2 kB / 442.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005739/0.2832, allocations: 437.7 kB / 443.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001409/0.2833, allocations: 112 kB / 443.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003313/0.2836, allocations: 156 kB / 443.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000269/0.2839, allocations: 227.2 kB / 443.7 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004902/0.2844, allocations: 449.9 kB / 444.1 MB, free: 9.371 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001785/0.2862, allocations: 1.455 MB / 445.6 MB, free: 7.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.2862, allocations: 0 / 445.6 MB, free: 7.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2862, allocations: 0 / 445.6 MB, free: 7.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.739e-05/0.2862, allocations: 0 / 445.6 MB, free: 7.91 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.002155/0.2884, allocations: 1.194 MB / 446.8 MB, free: 6.684 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/0.2884, allocations: 15.92 kB / 446.8 MB, free: 6.668 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001662/0.2886, allocations: 131.1 kB / 446.9 MB, free: 6.531 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005148/0.2891, allocations: 152.2 kB / 447.1 MB, free: 6.383 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/0.2903, allocations: 0.5766 MB / 447.7 MB, free: 5.777 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.196e-05/0.2903, allocations: 54.38 kB / 447.7 MB, free: 5.727 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/0.2905, allocations: 96.06 kB / 447.8 MB, free: 5.633 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001468/0.2919, allocations: 0.8256 MB / 448.6 MB, free: 4.762 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.53e-05/0.292, allocations: 4 kB / 448.6 MB, free: 4.758 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.665e-05/0.292, allocations: 32 kB / 448.7 MB, free: 4.727 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.205e-05/0.2921, allocations: 20 kB / 448.7 MB, free: 4.707 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/0.2931, allocations: 0.5153 MB / 449.2 MB, free: 4.191 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004546/0.2977, allocations: 3.052 MB / 452.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005674/0.2983, allocations: 215.4 kB / 452.5 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002462/0.2985, allocations: 104.8 kB / 452.6 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.185e-05/0.2985, allocations: 4 kB / 452.6 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.2986, allocations: 34.56 kB / 452.6 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 5.27e-06/0.2986, allocations: 3.984 kB / 452.6 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.002222/0.3008, allocations: 0.9135 MB / 453.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.668e-05/0.3009, allocations: 85.34 kB / 453.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.302, allocations: 0.7465 MB / 454.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.395e-05/0.302, allocations: 33.7 kB / 454.4 MB, free: 14.72 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004368/0.3024, allocations: 0.5073 MB / 454.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.228e-05/0.3025, allocations: 103.1 kB / 455 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/0.3027, allocations: 114.2 kB / 455.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002231/0.3029, allocations: 382.8 kB / 455.5 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002776/0.3032, allocations: 117.2 kB / 455.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005207/0.3037, allocations: 447.9 kB / 456 MB, free: 12.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008158/0.3045, allocations: 0.5792 MB / 456.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.3045, allocations: 4 kB / 456.6 MB, free: 12.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001187/0.3057, allocations: 0.6152 MB / 457.2 MB, free: 11.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.3057, allocations: 8 kB / 457.2 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.977e-05/0.3058, allocations: 12 kB / 457.3 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001782/0.3059, allocations: 32.84 kB / 457.3 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004502/0.3064, allocations: 148.2 kB / 457.4 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001224/0.3076, allocations: 1.287 MB / 458.7 MB, free: 9.965 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004783/0.3081, allocations: 31.94 kB / 458.7 MB, free: 9.934 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.155e-05/0.3081, allocations: 35.98 kB / 458.8 MB, free: 9.898 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (73): * Single equations (assignments): 72 * 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.0003415/0.3085, allocations: 229.8 kB / 459 MB, free: 9.664 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.3086, allocations: 79.53 kB / 459.1 MB, free: 9.586 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006675/0.3093, allocations: 321.4 kB / 459.4 MB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.3093, allocations: 4 kB / 459.4 MB, free: 9.258 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.3093, allocations: 0 / 459.4 MB, free: 9.258 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3093, allocations: 0 / 459.4 MB, free: 9.258 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001769/0.311, allocations: 1.003 MB / 460.4 MB, free: 8.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.3111, allocations: 4 kB / 460.4 MB, free: 8.176 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002697/0.3113, allocations: 59.91 kB / 460.5 MB, free: 8.117 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.817e-05/0.3114, allocations: 24.88 kB / 460.5 MB, free: 8.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.3114, allocations: 8.219 kB / 460.5 MB, free: 8.082 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001117/0.3126, allocations: 1.263 MB / 461.8 MB, free: 6.699 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.3126, allocations: 7.969 kB / 461.8 MB, free: 6.691 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009938/0.3136, allocations: 0.5532 MB / 462.3 MB, free: 6.098 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002799/0.3138, allocations: 107.5 kB / 462.4 MB, free: 5.992 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.816e-05/0.3139, allocations: 8 kB / 462.4 MB, free: 5.984 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003161/0.3142, allocations: 19.98 kB / 462.5 MB, free: 5.965 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.438e-05/0.3143, allocations: 31.83 kB / 462.5 MB, free: 5.934 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.3143, allocations: 12 kB / 462.5 MB, free: 5.922 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007218/0.315, allocations: 0.4991 MB / 463 MB, free: 5.426 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.315, allocations: 0 / 463 MB, free: 5.426 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000656/0.3157, allocations: 160 kB / 463.2 MB, free: 5.27 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.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 (27): * Single equations (assignments): 26 * 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.001406/0.3171, allocations: 1.129 MB / 464.3 MB, free: 4.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009756/0.3181, allocations: 444.1 kB / 464.7 MB, free: 3.645 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3181, allocations: 3.938 kB / 464.7 MB, free: 3.641 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003858/0.3185, allocations: 230.5 kB / 464.9 MB, free: 3.402 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009385/0.3194, allocations: 190.6 kB / 465.1 MB, free: 3.227 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00921/0.3286, allocations: 6.278 MB / 471.4 MB, free: 12.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003949/0.329, allocations: 352.7 kB / 471.8 MB, free: 12.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00034/0.3294, allocations: 86.02 kB / 471.8 MB, free: 12.08 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003915/0.3297, allocations: 299.3 kB / 472.1 MB, free: 11.79 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3297, allocations: 0 / 472.1 MB, free: 11.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05484/0.3846, allocations: 16.93 MB / 489.1 MB, free: 11.12 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.33, allocations: 8.047 kB / 489.1 MB, free: 11.11 MB / 398.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable loadInertia.w in file Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.343580299988389]