Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.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.001291/0.001291, allocations: 108.2 kB / 21.18 MB, free: 0.5781 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.001421/0.001421, allocations: 208.8 kB / 24.49 MB, free: 3.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.362/1.362, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001817/0.001817, allocations: 51.92 kB / 347.2 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2452, allocations: 49.17 MB / 396.4 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.008681/0.2539, allocations: 8.01 MB / 404.4 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004594/0.2585, allocations: 2.644 MB / 407 MB, free: 1.328 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001258/0.2598, allocations: 28.19 kB / 407 MB, free: 1.32 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001644/0.2614, allocations: 0.5778 MB / 407.6 MB, free: 1.016 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001502/0.2629, allocations: 492.8 kB / 408.1 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005612/0.2635, allocations: 238.4 kB / 408.3 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00189/0.2654, allocations: 1.436 MB / 409.8 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007386/0.2661, allocations: 400.5 kB / 410.2 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009811/0.2671, allocations: 0.5564 MB / 410.7 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009145/0.268, allocations: 0.5849 MB / 411.3 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000204/0.2682, allocations: 134.8 kB / 411.4 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004112/0.2686, allocations: 177.1 kB / 411.6 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000226/0.2688, allocations: 271.4 kB / 411.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007323/0.2696, allocations: 0.6522 MB / 412.5 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002294/0.2719, allocations: 1.7 MB / 414.2 MB, free: 13.19 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.2719, allocations: 0 / 414.2 MB, free: 13.19 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2719, allocations: 0 / 414.2 MB, free: 13.19 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.943e-05/0.2719, allocations: 0 / 414.2 MB, free: 13.19 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002804/0.2747, allocations: 1.393 MB / 415.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.2748, allocations: 17.2 kB / 415.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001891/0.2749, allocations: 147.3 kB / 415.8 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006502/0.2756, allocations: 177 kB / 415.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001461/0.2771, allocations: 0.6635 MB / 416.6 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.77e-05/0.2771, allocations: 73.03 kB / 416.7 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.2773, allocations: 106.2 kB / 416.8 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001731/0.279, allocations: 0.9193 MB / 417.7 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.836e-05/0.279, allocations: 6.5 kB / 417.7 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.494e-05/0.2791, allocations: 40.67 kB / 417.7 MB, free: 10.72 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.384e-05/0.2791, allocations: 27.81 kB / 417.8 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/0.2804, allocations: 0.6212 MB / 418.4 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005513/0.2859, allocations: 3.773 MB / 422.2 MB, free: 7.199 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005402/0.2864, allocations: 254.8 kB / 422.4 MB, free: 7.062 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002844/0.2867, allocations: 137.2 kB / 422.6 MB, free: 6.992 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.985e-05/0.2867, allocations: 3.281 kB / 422.6 MB, free: 6.992 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.2868, allocations: 40.88 kB / 422.6 MB, free: 6.945 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 2.194e-06/0.2868, allocations: 1.375 kB / 422.6 MB, free: 6.945 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.002346/0.2891, allocations: 1.054 MB / 423.6 MB, free: 6.266 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.065e-05/0.2892, allocations: 82.42 kB / 423.7 MB, free: 6.172 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/0.2903, allocations: 0.8221 MB / 424.6 MB, free: 5.703 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.964e-05/0.2904, allocations: 31.2 kB / 424.6 MB, free: 5.668 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004765/0.2908, allocations: 0.5851 MB / 425.2 MB, free: 5.141 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.2909, allocations: 135.6 kB / 425.3 MB, free: 5.023 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001795/0.2911, allocations: 127.6 kB / 425.4 MB, free: 4.941 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.2913, allocations: 343.4 kB / 425.8 MB, free: 4.605 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003154/0.2916, allocations: 151.5 kB / 425.9 MB, free: 4.535 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005759/0.2922, allocations: 459.5 kB / 426.4 MB, free: 4.043 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009071/0.2931, allocations: 0.6431 MB / 427 MB, free: 3.445 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.2931, allocations: 2.906 kB / 427 MB, free: 3.445 MB / 334.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001251/0.2943, allocations: 0.6859 MB / 427.7 MB, free: 3.086 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.2944, allocations: 9.844 kB / 427.7 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/0.2944, allocations: 14.5 kB / 427.7 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001765/0.2946, allocations: 35.34 kB / 427.7 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005133/0.2951, allocations: 157.1 kB / 427.9 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001156/0.2962, allocations: 1.295 MB / 429.2 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006157/0.2968, allocations: 39.94 kB / 429.2 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.827e-05/0.2969, allocations: 32 kB / 429.3 MB, free: 1.48 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (84): * 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: 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.0003828/0.2973, allocations: 261.6 kB / 429.5 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.2974, allocations: 87.42 kB / 429.6 MB, free: 1.129 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000753/0.2982, allocations: 366.3 kB / 430 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.2982, allocations: 4 kB / 430 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.2982, allocations: 4 kB / 430 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.2982, allocations: 3.984 kB / 430 MB, free: 0.75 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002003/0.3002, allocations: 1.237 MB / 431.2 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/0.3002, allocations: 7.938 kB / 431.2 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003262/0.3005, allocations: 71.91 kB / 431.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.581e-05/0.3006, allocations: 16.84 kB / 431.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.843e-05/0.3006, allocations: 16 kB / 431.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000996/0.3016, allocations: 1.264 MB / 432.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/0.3016, allocations: 16.02 kB / 432.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.3027, allocations: 0.6405 MB / 433.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002838/0.303, allocations: 115.4 kB / 433.4 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.696e-05/0.3031, allocations: 8 kB / 433.4 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003773/0.3034, allocations: 31.91 kB / 433.4 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.548e-05/0.3035, allocations: 27.95 kB / 433.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/0.3035, allocations: 12 kB / 433.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007783/0.3043, allocations: 0.5576 MB / 434 MB, free: 12.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3043, allocations: 4 kB / 434 MB, free: 12.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008096/0.3051, allocations: 188 kB / 434.2 MB, free: 12.31 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,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 (34): * Single equations (assignments): 33 * 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.001463/0.3066, allocations: 1.196 MB / 435.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.3076, allocations: 496.7 kB / 435.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.3076, allocations: 8.062 kB / 435.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000423/0.308, allocations: 258.5 kB / 436.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.3091, allocations: 207.8 kB / 436.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/0.3195, allocations: 7.135 MB / 443.5 MB, free: 2.504 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006682/0.3202, allocations: 0.9923 MB / 444.4 MB, free: 1.484 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003899/0.3206, allocations: 94.89 kB / 444.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004553/0.321, allocations: 371.3 kB / 444.9 MB, free: 1.023 MB / 350.1 MB Notification: Performance of SimCode: time 1.112e-06/0.321, allocations: 0 / 444.9 MB, free: 1.023 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05722/0.3782, allocations: 18.49 MB / 463.4 MB, free: 14.46 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.73/13.11, allocations: 11.7 kB / 463.4 MB, free: 14.45 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable loadInertia.w in file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.082185567000124]