Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.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.001053/0.001053, allocations: 112.1 kB / 20.44 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.0009428/0.0009428, allocations: 209.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 0.9488/0.9488, allocations: 230.6 MB / 257.5 MB, free: 9.598 MB / 202.7 MB " [Timeout remaining time 179] 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(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 59.89 kB / 379.3 MB, free: 452 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2339, allocations: 53.36 MB / 432.7 MB, free: 3.195 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.006255/0.2402, allocations: 7.269 MB / 439.9 MB, free: 13.73 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003832/0.244, allocations: 2.566 MB / 442.5 MB, free: 11.65 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004396/0.2444, allocations: 29.09 kB / 442.5 MB, free: 11.64 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009965/0.2454, allocations: 0.5256 MB / 443 MB, free: 11.27 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006736/0.2461, allocations: 0.4985 MB / 443.5 MB, free: 10.82 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003386/0.2464, allocations: 275.8 kB / 443.8 MB, free: 10.58 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001108/0.2475, allocations: 1.503 MB / 445.3 MB, free: 9.645 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004714/0.248, allocations: 372.6 kB / 445.7 MB, free: 9.383 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005994/0.2486, allocations: 0.5865 MB / 446.3 MB, free: 9.027 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006582/0.2493, allocations: 0.5371 MB / 446.8 MB, free: 8.66 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001571/0.2494, allocations: 144.1 kB / 446.9 MB, free: 8.656 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002557/0.2497, allocations: 186.1 kB / 447.1 MB, free: 8.488 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001357/0.2498, allocations: 279 kB / 447.4 MB, free: 8.215 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005862/0.2504, allocations: 0.5522 MB / 448 MB, free: 7.66 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.2515, allocations: 1.778 MB / 449.7 MB, free: 5.875 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2515, allocations: 0 / 449.7 MB, free: 5.875 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.654e-06/0.2515, allocations: 0 / 449.7 MB, free: 5.875 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.531e-05/0.2515, allocations: 0 / 449.7 MB, free: 5.875 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.001463/0.253, allocations: 1.438 MB / 451.2 MB, free: 4.402 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.253, allocations: 8.031 kB / 451.2 MB, free: 4.395 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001169/0.2531, allocations: 152.4 kB / 451.3 MB, free: 4.238 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003993/0.2535, allocations: 215.9 kB / 451.5 MB, free: 4.027 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007789/0.2543, allocations: 0.6929 MB / 452.2 MB, free: 3.309 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.398e-05/0.2543, allocations: 74 kB / 452.3 MB, free: 3.234 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.23e-05/0.2544, allocations: 103.9 kB / 452.4 MB, free: 3.133 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.2555, allocations: 1.043 MB / 453.4 MB, free: 2.039 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/0.2555, allocations: 7.938 kB / 453.5 MB, free: 2.031 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.523e-05/0.2556, allocations: 40 kB / 453.5 MB, free: 1.992 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.2556, allocations: 28 kB / 453.5 MB, free: 1.965 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008028/0.2564, allocations: 0.6481 MB / 454.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003177/0.2596, allocations: 3.517 MB / 457.7 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004601/0.26, allocations: 348.9 kB / 458 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003624/0.2604, allocations: 264.6 kB / 458.3 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.2604, allocations: 4 kB / 458.3 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.2604, allocations: 38.56 kB / 458.3 MB, free: 12.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=41): time 3.907e-06/0.2604, allocations: 0 / 458.3 MB, free: 12.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=45): time 0.001719/0.2621, allocations: 1.354 MB / 459.7 MB, free: 11.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.2622, allocations: 81.11 kB / 459.8 MB, free: 11.44 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007434/0.2629, allocations: 0.8605 MB / 460.6 MB, free: 10.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.263, allocations: 29.7 kB / 460.6 MB, free: 10.53 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002544/0.2632, allocations: 0.5775 MB / 461.2 MB, free: 9.945 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.675e-05/0.2633, allocations: 170.5 kB / 461.4 MB, free: 9.777 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.2634, allocations: 134.6 kB / 461.5 MB, free: 9.641 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003136/0.2637, allocations: 338 kB / 461.9 MB, free: 9.305 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002219/0.2639, allocations: 169.9 kB / 462 MB, free: 9.137 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003429/0.2643, allocations: 0.4973 MB / 462.5 MB, free: 8.496 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005879/0.2649, allocations: 0.672 MB / 463.2 MB, free: 7.691 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2649, allocations: 8 kB / 463.2 MB, free: 7.684 MB / 362.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0008291/0.2657, allocations: 0.787 MB / 464 MB, free: 6.883 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.2657, allocations: 14.19 kB / 464 MB, free: 6.871 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.2657, allocations: 11.94 kB / 464 MB, free: 6.859 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001798/0.2659, allocations: 85.86 kB / 464.1 MB, free: 6.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002768/0.2662, allocations: 159.7 kB / 464.2 MB, free: 6.613 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001564/0.2677, allocations: 2.923 MB / 467.2 MB, free: 3.457 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002605/0.268, allocations: 35.98 kB / 467.2 MB, free: 3.422 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.991e-05/0.268, allocations: 36 kB / 467.2 MB, free: 3.387 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (85): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002363/0.2683, allocations: 265.5 kB / 467.5 MB, free: 3.117 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.122e-05/0.2684, allocations: 95.39 kB / 467.6 MB, free: 3.023 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005832/0.2689, allocations: 0.503 MB / 468.1 MB, free: 2.504 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.2689, allocations: 4 kB / 468.1 MB, free: 2.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2689, allocations: 4 kB / 468.1 MB, free: 2.496 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.269, allocations: 0 / 468.1 MB, free: 2.496 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001549/0.2705, allocations: 1.334 MB / 469.4 MB, free: 1.086 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.2705, allocations: 224 / 469.4 MB, free: 1.086 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.2707, allocations: 79.89 kB / 469.5 MB, free: 1.008 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001191/0.2708, allocations: 73.61 kB / 469.6 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.2708, allocations: 12 kB / 469.6 MB, free: 0.918 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001348/0.2722, allocations: 2.912 MB / 472.5 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2722, allocations: 0 / 472.5 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007773/0.2729, allocations: 0.8141 MB / 473.3 MB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001619/0.2731, allocations: 123.4 kB / 473.4 MB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.331e-05/0.2732, allocations: 19.94 kB / 473.5 MB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.2734, allocations: 31.97 kB / 473.5 MB, free: 12.74 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.914e-05/0.2734, allocations: 35.94 kB / 473.5 MB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.2734, allocations: 8 kB / 473.5 MB, free: 12.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004841/0.2739, allocations: 0.581 MB / 474.1 MB, free: 12.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2739, allocations: 0 / 474.1 MB, free: 12.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004888/0.2744, allocations: 207.9 kB / 474.3 MB, free: 11.92 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (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.001017/0.2754, allocations: 1.379 MB / 475.7 MB, free: 10.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00092/0.2763, allocations: 0.6786 MB / 476.4 MB, free: 9.789 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2763, allocations: 0 / 476.4 MB, free: 9.789 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003635/0.2767, allocations: 454 kB / 476.8 MB, free: 9.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006269/0.2773, allocations: 241 kB / 477.1 MB, free: 9.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00671/0.284, allocations: 7.468 MB / 484.5 MB, free: 1.184 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.2843, allocations: 434.4 kB / 485 MB, free: 0.7305 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002366/0.2846, allocations: 107.3 kB / 485.1 MB, free: 0.6211 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003067/0.2849, allocations: 391.3 kB / 485.4 MB, free: 244 kB / 378.7 MB Notification: Performance of SimCode: time 8.21e-07/0.2849, allocations: 4 kB / 485.4 MB, free: 240 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0973/0.3822, allocations: 21.39 MB / 0.495 GB, free: 11.16 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.784/8.166, allocations: 7.844 kB / 0.495 GB, free: 11.16 MB / 410.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.mat --stripRoot --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase_fmu --startTime=0 --stopTime=2 --stepSize=0.0001 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase.fmu) > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_SinglePhase/DCSE_SinglePhase.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=2 --stepSize=0.0001 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase_OMSimulator-cs-cvode.fmu) > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_SinglePhase/DCSE_SinglePhase.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_OMSimulator-cs-euler.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=2 --stepSize=0.0001 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase_OMSimulator-cs-euler.fmu) > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_SinglePhase/DCSE_SinglePhase.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,dcse.la.i,loadInertia.phi,loadInertia.w Variables in the result:JLoad,TLoad,Va,constantVoltage.V,constantVoltage.f,constantVoltage.i,constantVoltage.n.i,constantVoltage.n.v,constantVoltage.offset,constantVoltage.p.i,constantVoltage.p.v,constantVoltage.phase,constantVoltage.signalSource.amplitude,constantVoltage.signalSource.continuous,constantVoltage.signalSource.f,constantVoltage.signalSource.offset,constantVoltage.signalSource.phase,constantVoltage.signalSource.startTime,constantVoltage.signalSource.y,constantVoltage.startTime,constantVoltage.v,dcse.IaNominal,dcse.Jr,dcse.Js,dcse.La,dcse.Le,dcse.Ra,dcse.Re,dcse.TaNominal,dcse.TaOperational,dcse.TaRef,dcse.TeNominal,dcse.TeOperational,dcse.TeRef,dcse.VaNominal,dcse.airGapDC.Le,dcse.airGapDC.flange.phi,dcse.airGapDC.flange.tau,dcse.airGapDC.ia,dcse.airGapDC.ie,dcse.airGapDC.pin_an.i,dcse.airGapDC.pin_an.v,dcse.airGapDC.pin_ap.i,dcse.airGapDC.pin_ap.v,dcse.airGapDC.pin_en.i,dcse.airGapDC.pin_en.v,dcse.airGapDC.pin_ep.i,dcse.airGapDC.pin_ep.v,dcse.airGapDC.psi_e,dcse.airGapDC.quasiStatic,dcse.airGapDC.support.phi,dcse.airGapDC.support.tau,dcse.airGapDC.tauElectrical,dcse.airGapDC.turnsRatio,dcse.airGapDC.vai,dcse.airGapDC.vei,dcse.airGapDC.w,dcse.alpha20a,dcse.alpha20e,dcse.brush.brushParameters.ILinear,dcse.brush.brushParameters.V,dcse.brush.heatPort.Q_flow,dcse.brush.heatPort.T,dcse.brush.i,dcse.brush.lossPower,dcse.brush.n.i,dcse.brush.n.v,dcse.brush.p.i,dcse.brush.p.v,dcse.brush.useHeatPort,dcse.brush.v,dcse.brushParameters.ILinear,dcse.brushParameters.V,dcse.compoundDCExcitation.excitationTurnsRatio,dcse.compoundDCExcitation.i,dcse.compoundDCExcitation.ie,dcse.compoundDCExcitation.ise,dcse.compoundDCExcitation.pin_en.i,dcse.compoundDCExcitation.pin_en.v,dcse.compoundDCExcitation.pin_ep.i,dcse.compoundDCExcitation.pin_ep.v,dcse.compoundDCExcitation.pin_n.i,dcse.compoundDCExcitation.pin_n.v,dcse.compoundDCExcitation.pin_p.i,dcse.compoundDCExcitation.pin_p.v,dcse.compoundDCExcitation.pin_sen.i,dcse.compoundDCExcitation.pin_sen.v,dcse.compoundDCExcitation.pin_sep.i,dcse.compoundDCExcitation.pin_sep.v,dcse.compoundDCExcitation.v,dcse.compoundDCExcitation.ve,dcse.compoundDCExcitation.vse,dcse.core.Gc,dcse.core.coreParameters.GcRef,dcse.core.coreParameters.PRef,dcse.core.coreParameters.VRef,dcse.core.coreParameters.m,dcse.core.coreParameters.ratioHysteresis,dcse.core.coreParameters.wMin,dcse.core.coreParameters.wRef,dcse.core.heatPort.Q_flow,dcse.core.heatPort.T,dcse.core.i,dcse.core.lossPower,dcse.core.n.i,dcse.core.n.v,dcse.core.p.i,dcse.core.p.v,dcse.core.useHeatPort,dcse.core.v,dcse.core.w,dcse.coreParameters.GcRef,dcse.coreParameters.PRef,dcse.coreParameters.VRef,dcse.coreParameters.m,dcse.coreParameters.ratioHysteresis,dcse.coreParameters.wMin,dcse.coreParameters.wRef,dcse.fixed.flange.phi,dcse.fixed.flange.tau,dcse.fixed.phi0,dcse.flange.phi,dcse.flange.tau,dcse.friction.flange.phi,dcse.friction.flange.tau,dcse.friction.frictionParameters.PRef,dcse.friction.frictionParameters.linear,dcse.friction.frictionParameters.power_w,dcse.friction.frictionParameters.tauLinear,dcse.friction.frictionParameters.tauRef,dcse.friction.frictionParameters.wLinear,dcse.friction.frictionParameters.wRef,dcse.friction.heatPort.Q_flow,dcse.friction.heatPort.T,dcse.friction.lossPower,dcse.friction.phi,dcse.friction.support.phi,dcse.friction.support.tau,dcse.friction.tau,dcse.friction.useHeatPort,dcse.friction.w,dcse.frictionParameters.PRef,dcse.frictionParameters.linear,dcse.frictionParameters.power_w,dcse.frictionParameters.tauLinear,dcse.frictionParameters.tauRef,dcse.frictionParameters.wLinear,dcse.frictionParameters.wRef,dcse.ground.p.i,dcse.ground.p.v,dcse.groundE.p.i,dcse.groundE.p.v,dcse.ia,dcse.ie,dcse.inertiaRotor.J,dcse.inertiaRotor.a,dcse.inertiaRotor.flange_a.phi,dcse.inertiaRotor.flange_a.tau,dcse.inertiaRotor.flange_b.phi,dcse.inertiaRotor.flange_b.tau,dcse.inertiaRotor.phi,dcse.inertiaRotor.stateSelect,dcse.inertiaRotor.w,dcse.inertiaStator.J,dcse.inertiaStator.a,dcse.inertiaStator.flange_a.phi,dcse.inertiaStator.flange_a.tau,dcse.inertiaStator.flange_b.phi,dcse.inertiaStator.flange_b.tau,dcse.inertiaStator.phi,dcse.inertiaStator.stateSelect,dcse.inertiaStator.w,dcse.la.L,dcse.la.i,dcse.la.n.i,dcse.la.n.v,dcse.la.p.i,dcse.la.p.v,dcse.la.quasiStatic,dcse.la.v,dcse.lesigma.L,dcse.lesigma.i,dcse.lesigma.n.i,dcse.lesigma.n.v,dcse.lesigma.p.i,dcse.lesigma.p.v,dcse.lesigma.quasiStatic,dcse.lesigma.v,dcse.phiMechanical,dcse.pin_an.i,dcse.pin_an.v,dcse.pin_ap.i,dcse.pin_ap.v,dcse.pin_en.i,dcse.pin_en.v,dcse.pin_ep.i,dcse.pin_ep.v,dcse.powerBalance.lossPowerArmature,dcse.powerBalance.lossPowerBrush,dcse.powerBalance.lossPowerCore,dcse.powerBalance.lossPowerFriction,dcse.powerBalance.lossPowerSeriesExcitation,dcse.powerBalance.lossPowerStrayLoad,dcse.powerBalance.lossPowerTotal,dcse.powerBalance.powerArmature,dcse.powerBalance.powerInertiaRotor,dcse.powerBalance.powerInertiaStator,dcse.powerBalance.powerMechanical,dcse.powerBalance.powerSeriesExcitation,dcse.ra.LossPower,dcse.ra.R,dcse.ra.R_actual,dcse.ra.T,dcse.ra.T_heatPort,dcse.ra.T_ref,dcse.ra.alpha,dcse.ra.heatPort.Q_flow,dcse.ra.heatPort.T,dcse.ra.i,dcse.ra.n.i,dcse.ra.n.v,dcse.ra.p.i,dcse.ra.p.v,dcse.ra.useHeatPort,dcse.ra.v,dcse.re.LossPower,dcse.re.R,dcse.re.R_actual,dcse.re.T,dcse.re.T_heatPort,dcse.re.T_ref,dcse.re.alpha,dcse.re.heatPort.Q_flow,dcse.re.heatPort.T,dcse.re.i,dcse.re.n.i,dcse.re.n.v,dcse.re.p.i,dcse.re.p.v,dcse.re.useHeatPort,dcse.re.v,dcse.sigmae,dcse.strayLoad.flange.phi,dcse.strayLoad.flange.tau,dcse.strayLoad.heatPort.Q_flow,dcse.strayLoad.heatPort.T,dcse.strayLoad.i,dcse.strayLoad.lossPower,dcse.strayLoad.n.i,dcse.strayLoad.n.v,dcse.strayLoad.p.i,dcse.strayLoad.p.v,dcse.strayLoad.phi,dcse.strayLoad.strayLoadParameters.IRef,dcse.strayLoad.strayLoadParameters.PRef,dcse.strayLoad.strayLoadParameters.power_w,dcse.strayLoad.strayLoadParameters.tauRef,dcse.strayLoad.strayLoadParameters.wRef,dcse.strayLoad.support.phi,dcse.strayLoad.support.tau,dcse.strayLoad.tau,dcse.strayLoad.useHeatPort,dcse.strayLoad.v,dcse.strayLoad.w,dcse.strayLoadParameters.IRef,dcse.strayLoadParameters.PRef,dcse.strayLoadParameters.power_w,dcse.strayLoadParameters.tauRef,dcse.strayLoadParameters.wRef,dcse.tauElectrical,dcse.tauShaft,dcse.thermalAmbient.Q_flowArmature,dcse.thermalAmbient.Q_flowBrush,dcse.thermalAmbient.Q_flowCore,dcse.thermalAmbient.Q_flowFriction,dcse.thermalAmbient.Q_flowSeriesExcitation,dcse.thermalAmbient.Q_flowStrayLoad,dcse.thermalAmbient.Q_flowTotal,dcse.thermalAmbient.Ta,dcse.thermalAmbient.Tse,dcse.thermalAmbient.constTa.k,dcse.thermalAmbient.constTa.y,dcse.thermalAmbient.constTse.k,dcse.thermalAmbient.constTse.y,dcse.thermalAmbient.temperatureArmature.T,dcse.thermalAmbient.temperatureArmature.port.Q_flow,dcse.thermalAmbient.temperatureArmature.port.T,dcse.thermalAmbient.temperatureBrush.T,dcse.thermalAmbient.temperatureBrush.port.Q_flow,dcse.thermalAmbient.temperatureBrush.port.T,dcse.thermalAmbient.temperatureCore.T,dcse.thermalAmbient.temperatureCore.port.Q_flow,dcse.thermalAmbient.temperatureCore.port.T,dcse.thermalAmbient.temperatureFriction.T,dcse.thermalAmbient.temperatureFriction.port.Q_flow,dcse.thermalAmbient.temperatureFriction.port.T,dcse.thermalAmbient.temperatureSeriesExcitation.T,dcse.thermalAmbient.temperatureSeriesExcitation.port.Q_flow,dcse.thermalAmbient.temperatureSeriesExcitation.port.T,dcse.thermalAmbient.temperatureStrayLoad.T,dcse.thermalAmbient.temperatureStrayLoad.port.Q_flow,dcse.thermalAmbient.temperatureStrayLoad.port.T,dcse.thermalAmbient.thermalPort.heatPortArmature.Q_flow,dcse.thermalAmbient.thermalPort.heatPortArmature.T,dcse.thermalAmbient.thermalPort.heatPortBrush.Q_flow,dcse.thermalAmbient.thermalPort.heatPortBrush.T,dcse.thermalAmbient.thermalPort.heatPortCore.Q_flow,dcse.thermalAmbient.thermalPort.heatPortCore.T,dcse.thermalAmbient.thermalPort.heatPortFriction.Q_flow,dcse.thermalAmbient.thermalPort.heatPortFriction.T,dcse.thermalAmbient.thermalPort.heatPortSeriesExcitation.Q_flow,dcse.thermalAmbient.thermalPort.heatPortSeriesExcitation.T,dcse.thermalAmbient.thermalPort.heatPortStrayLoad.Q_flow,dcse.thermalAmbient.thermalPort.heatPortStrayLoad.T,dcse.thermalAmbient.useTemperatureInputs,dcse.useSupport,dcse.useThermalPort,dcse.va,dcse.ve,dcse.wMechanical,dcse.wNominal,dcseData.IaNominal,dcseData.Jr,dcseData.Js,dcseData.La,dcseData.Le,dcseData.Ra,dcseData.Re,dcseData.TaNominal,dcseData.TaRef,dcseData.TeNominal,dcseData.TeRef,dcseData.VaNominal,dcseData.ViNominal,dcseData.alpha20a,dcseData.alpha20e,dcseData.brushParameters.ILinear,dcseData.brushParameters.V,dcseData.coreParameters.GcRef,dcseData.coreParameters.PRef,dcseData.coreParameters.VRef,dcseData.coreParameters.m,dcseData.coreParameters.ratioHysteresis,dcseData.coreParameters.wMin,dcseData.coreParameters.wRef,dcseData.frictionParameters.PRef,dcseData.frictionParameters.linear,dcseData.frictionParameters.power_w,dcseData.frictionParameters.tauLinear,dcseData.frictionParameters.tauRef,dcseData.frictionParameters.wLinear,dcseData.frictionParameters.wRef,dcseData.sigmae,dcseData.strayLoadParameters.IRef,dcseData.strayLoadParameters.PRef,dcseData.strayLoadParameters.power_w,dcseData.strayLoadParameters.tauRef,dcseData.strayLoadParameters.wRef,dcseData.wNominal,der(dcse.airGapDC.psi_e),der(dcse.friction.phi),der(dcse.inertiaRotor.w),der(dcse.la.i),der(dcse.phiMechanical),der(dcse.strayLoad.phi),der(quadraticLoadTorque.phi),ground.p.i,ground.p.v,loadInertia.J,loadInertia.a,loadInertia.flange_a.phi,loadInertia.flange_a.tau,loadInertia.flange_b.phi,loadInertia.flange_b.tau,loadInertia.phi,loadInertia.stateSelect,loadInertia.w,quadraticLoadTorque.TorqueDirection,quadraticLoadTorque.flange.phi,quadraticLoadTorque.flange.tau,quadraticLoadTorque.phi,quadraticLoadTorque.tau,quadraticLoadTorque.tau_nominal,quadraticLoadTorque.useSupport,quadraticLoadTorque.w,quadraticLoadTorque.w_nominal,ramp.duration,ramp.height,ramp.offset,ramp.startTime,ramp.y,tRamp,tStart,time,variableResistor.LossPower,variableResistor.R,variableResistor.R_actual,variableResistor.T,variableResistor.T_heatPort,variableResistor.T_ref,variableResistor.alpha,variableResistor.i,variableResistor.n.i,variableResistor.n.v,variableResistor.p.i,variableResistor.p.v,variableResistor.useHeatPort,variableResistor.v,wLoad filterSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_OMSimulator-cs-euler.diff.mat", vars={"loadInertia.w", "loadInertia.phi"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_SinglePhase/DCSE_SinglePhase.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_OMSimulator-cs-euler.diff.ref.mat", vars={"loadInertia.w", "loadInertia.phi"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_fmpy.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_fmpy.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_fmpy_res.csv --output-variables dcse.la.i loadInertia.phi loadInertia.w --start-time 0 --stop-time 2 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 ../Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase.fmu) > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_SinglePhase/DCSE_SinglePhase.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.93225120101124]