Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 84.06 kB / 20.67 MB, free: 3.879 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009724/0.0009724, allocations: 153.1 kB / 23.94 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9228/0.9228, allocations: 173.4 MB / 200.5 MB, free: 9.457 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,fileNamePrefix="Modelica_4_0_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_0_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 1.443e-06/1.443e-06, allocations: 3.938 kB / 320 MB, free: 5.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.218e-06/1.066e-05, allocations: 10.22 kB / 320 MB, free: 5.488 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.005443/0.005454, allocations: 7.244 MB / 327.3 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003065/0.008519, allocations: 2.517 MB / 329.8 MB, free: 11.67 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004332/0.008952, allocations: 31.81 kB / 329.8 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009625/0.009914, allocations: 0.5362 MB / 330.3 MB, free: 11.1 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006587/0.01057, allocations: 0.5272 MB / 330.9 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003091/0.01088, allocations: 263.6 kB / 331.1 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009621/0.01184, allocations: 1.567 MB / 332.7 MB, free: 8.738 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004061/0.01225, allocations: 371.3 kB / 333.1 MB, free: 8.355 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006272/0.01288, allocations: 0.869 MB / 333.9 MB, free: 7.484 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003754/0.01325, allocations: 450.5 kB / 334.4 MB, free: 7.043 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001112/0.01336, allocations: 140 kB / 334.5 MB, free: 6.906 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002071/0.01357, allocations: 176 kB / 334.7 MB, free: 6.734 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.0137, allocations: 294.8 kB / 335 MB, free: 6.445 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002891/0.01399, allocations: 462.9 kB / 335.4 MB, free: 5.992 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001069/0.01506, allocations: 1.764 MB / 337.2 MB, free: 4.223 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.01506, allocations: 0 / 337.2 MB, free: 4.223 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.01506, allocations: 0 / 337.2 MB, free: 4.223 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.01507, allocations: 0 / 337.2 MB, free: 4.223 MB / 298.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.001434/0.01651, allocations: 1.427 MB / 338.6 MB, free: 2.758 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.01654, allocations: 8.922 kB / 338.6 MB, free: 2.75 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001174/0.01666, allocations: 152.4 kB / 338.8 MB, free: 2.594 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003551/0.01701, allocations: 196 kB / 339 MB, free: 2.402 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007443/0.01776, allocations: 0.6929 MB / 339.6 MB, free: 1.684 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.578e-05/0.01779, allocations: 81.94 kB / 339.7 MB, free: 1.605 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.187e-05/0.01788, allocations: 96 kB / 339.8 MB, free: 1.512 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.01889, allocations: 1.039 MB / 340.9 MB, free: 424 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.536e-05/0.01891, allocations: 15.88 kB / 340.9 MB, free: 408 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.099e-05/0.01896, allocations: 40 kB / 340.9 MB, free: 368 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/0.01898, allocations: 24 kB / 340.9 MB, free: 344 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008068/0.01978, allocations: 0.6442 MB / 341.6 MB, free: 15.69 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002907/0.02269, allocations: 3.521 MB / 345.1 MB, free: 11.95 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004442/0.02314, allocations: 354.6 kB / 345.4 MB, free: 11.6 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003644/0.0235, allocations: 261.4 kB / 345.7 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.02353, allocations: 4.688 kB / 345.7 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.02354, allocations: 38.56 kB / 345.7 MB, free: 11.29 MB / 314.7 MB Notification: Performance of pre-optimization done (n=41): time 1.553e-06/0.02355, allocations: 0 / 345.7 MB, free: 11.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=45): time 0.001721/0.02527, allocations: 1.343 MB / 347.1 MB, free: 9.91 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.02531, allocations: 85.05 kB / 347.2 MB, free: 9.809 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007369/0.02604, allocations: 0.8604 MB / 348 MB, free: 8.941 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.02607, allocations: 33.7 kB / 348.1 MB, free: 8.902 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000267/0.02633, allocations: 0.5775 MB / 348.6 MB, free: 8.316 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.96e-05/0.02641, allocations: 162.6 kB / 348.8 MB, free: 8.156 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.02652, allocations: 134.6 kB / 348.9 MB, free: 8.02 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.95e-05/0.0266, allocations: 341.8 kB / 349.3 MB, free: 7.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/0.02682, allocations: 169.9 kB / 349.4 MB, free: 7.512 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003493/0.02717, allocations: 0.4973 MB / 349.9 MB, free: 6.871 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005845/0.02776, allocations: 0.6721 MB / 350.6 MB, free: 6.066 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.02776, allocations: 4 kB / 350.6 MB, free: 6.062 MB / 314.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0008084/0.02857, allocations: 0.7909 MB / 351.4 MB, free: 5.258 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.02858, allocations: 12.12 kB / 351.4 MB, free: 5.246 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.02859, allocations: 12 kB / 351.4 MB, free: 5.234 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001674/0.02876, allocations: 81.67 kB / 351.5 MB, free: 5.148 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002754/0.02904, allocations: 151.8 kB / 351.6 MB, free: 5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001445/0.03048, allocations: 2.935 MB / 354.6 MB, free: 1.836 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002572/0.03074, allocations: 40.16 kB / 354.6 MB, free: 1.797 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/0.03077, allocations: 32 kB / 354.7 MB, free: 1.766 MB / 314.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.0002275/0.031, allocations: 261.5 kB / 354.9 MB, free: 1.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.65e-05/0.03107, allocations: 95.38 kB / 355 MB, free: 1.406 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005707/0.03164, allocations: 0.499 MB / 355.5 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.03165, allocations: 8 kB / 355.5 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.03165, allocations: 0 / 355.5 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.03165, allocations: 0 / 355.5 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001285/0.03294, allocations: 1.334 MB / 356.8 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.03294, allocations: 4.125 kB / 356.8 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.03311, allocations: 71.89 kB / 356.9 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001185/0.03323, allocations: 77.89 kB / 357 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.03325, allocations: 8 kB / 357 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001383/0.03463, allocations: 2.911 MB / 359.9 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.03463, allocations: 0 / 359.9 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007772/0.03541, allocations: 0.807 MB / 360.7 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/0.03557, allocations: 131.5 kB / 360.8 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.084e-05/0.03562, allocations: 15.94 kB / 360.9 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.03582, allocations: 27.98 kB / 360.9 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.079e-05/0.03588, allocations: 35.88 kB / 360.9 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.0359, allocations: 19.98 kB / 360.9 MB, free: 11.09 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004891/0.03639, allocations: 0.5732 MB / 361.5 MB, free: 10.52 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03639, allocations: 0 / 361.5 MB, free: 10.52 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000489/0.03688, allocations: 211.9 kB / 361.7 MB, free: 10.31 MB / 330.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.00103/0.03791, allocations: 1.373 MB / 363.1 MB, free: 8.887 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007146/0.03862, allocations: 0.6787 MB / 363.8 MB, free: 8.184 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.03862, allocations: 0.6875 kB / 363.8 MB, free: 8.184 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003611/0.03898, allocations: 444.8 kB / 364.2 MB, free: 7.723 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006178/0.0396, allocations: 234.5 kB / 364.4 MB, free: 7.5 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007322/0.04692, allocations: 7.425 MB / 371.9 MB, free: 15.63 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/0.0472, allocations: 426.4 kB / 372.3 MB, free: 15.18 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002449/0.04745, allocations: 111.3 kB / 372.4 MB, free: 15.07 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002992/0.04775, allocations: 388.4 kB / 372.8 MB, free: 14.68 MB / 346.7 MB Notification: Performance of SimCode: time 6.21e-07/0.04775, allocations: 0 / 372.8 MB, free: 14.68 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09164/0.1394, allocations: 21.42 MB / 394.2 MB, free: 9.57 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.774/7.913, allocations: 3.938 kB / 394.2 MB, free: 9.566 MB / 362.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.mat --stripRoot --tempDir=temp_Modelica_4_0_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_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase.fmu) > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_4_0_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_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase_OMSimulator-cs-cvode.fmu) > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.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.0.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.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_OMSimulator-cs-euler.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_4_0_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_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase_OMSimulator-cs-euler.fmu) > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.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.0.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.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.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_SinglePhase/DCSE_SinglePhase.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_fmpy.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_fmpy.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_4.0.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_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase.fmu) > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.505465087480843]