Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.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.00179/0.00179, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002261/0.002261, allocations: 209.5 kB / 23.72 MB, free: 4.391 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.491/1.491, allocations: 230.5 MB / 257.4 MB, free: 7.754 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.DCSE_SinglePhase,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 59.91 kB / 377.7 MB, free: 2.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2342, allocations: 53.41 MB / 431.2 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.009775/0.244, allocations: 7.269 MB / 438.4 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005178/0.2491, allocations: 2.568 MB / 441 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008142/0.2499, allocations: 27.88 kB / 441 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001535/0.2515, allocations: 0.5208 MB / 441.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001308/0.2528, allocations: 0.5041 MB / 442 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006077/0.2534, allocations: 271.7 kB / 442.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001764/0.2552, allocations: 1.51 MB / 443.8 MB, free: 9.734 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006695/0.2558, allocations: 371.3 kB / 444.2 MB, free: 9.344 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008702/0.2567, allocations: 0.5876 MB / 444.8 MB, free: 8.754 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007549/0.2575, allocations: 0.5323 MB / 445.3 MB, free: 8.219 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001926/0.2576, allocations: 144 kB / 445.4 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003919/0.258, allocations: 184 kB / 445.6 MB, free: 7.898 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002378/0.2583, allocations: 283 kB / 445.9 MB, free: 7.621 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005768/0.2589, allocations: 0.5443 MB / 446.4 MB, free: 7.074 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002008/0.2609, allocations: 1.775 MB / 448.2 MB, free: 5.297 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.2609, allocations: 0 / 448.2 MB, free: 5.297 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2609, allocations: 0 / 448.2 MB, free: 5.297 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.836e-05/0.2609, allocations: 7.938 kB / 448.2 MB, free: 5.289 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.002806/0.2637, allocations: 1.442 MB / 449.7 MB, free: 3.812 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.2638, allocations: 15.98 kB / 449.7 MB, free: 3.797 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001931/0.264, allocations: 156.4 kB / 449.8 MB, free: 3.637 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000757/0.2647, allocations: 208 kB / 450 MB, free: 3.434 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/0.2661, allocations: 0.6967 MB / 450.7 MB, free: 2.711 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.63e-05/0.2661, allocations: 74 kB / 450.8 MB, free: 2.637 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/0.2663, allocations: 99.95 kB / 450.9 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001773/0.268, allocations: 1.047 MB / 452 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.682e-05/0.2681, allocations: 3.984 kB / 452 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.323e-05/0.2682, allocations: 47.98 kB / 452 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.613e-05/0.2682, allocations: 28 kB / 452 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/0.2695, allocations: 0.6442 MB / 452.7 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005315/0.2748, allocations: 3.509 MB / 456.2 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007091/0.2756, allocations: 350 kB / 456.5 MB, free: 12.65 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006207/0.2762, allocations: 261.4 kB / 456.8 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.052e-05/0.2762, allocations: 4 kB / 456.8 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.2762, allocations: 38.56 kB / 456.8 MB, free: 12.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=41): time 2.405e-06/0.2762, allocations: 0 / 456.8 MB, free: 12.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.003113/0.2794, allocations: 1.347 MB / 458.2 MB, free: 10.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.7e-05/0.2794, allocations: 81.11 kB / 458.2 MB, free: 10.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/0.2807, allocations: 0.8566 MB / 459.1 MB, free: 9.992 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.188e-05/0.2808, allocations: 33.7 kB / 459.1 MB, free: 9.953 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000495/0.2813, allocations: 0.5775 MB / 459.7 MB, free: 9.367 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000148/0.2814, allocations: 170.6 kB / 459.9 MB, free: 9.199 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002081/0.2816, allocations: 142.6 kB / 460 MB, free: 9.055 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.2818, allocations: 337.9 kB / 460.4 MB, free: 8.719 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003687/0.2822, allocations: 169.9 kB / 460.5 MB, free: 8.551 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006276/0.2828, allocations: 0.4895 MB / 461 MB, free: 7.922 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.2838, allocations: 0.6799 MB / 461.7 MB, free: 7.109 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.545e-06/0.2838, allocations: 8 kB / 461.7 MB, free: 7.102 MB / 366.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001531/0.2854, allocations: 0.7833 MB / 462.5 MB, free: 6.305 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.2854, allocations: 8 kB / 462.5 MB, free: 6.297 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.2854, allocations: 12 kB / 462.5 MB, free: 6.285 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003026/0.2857, allocations: 89.86 kB / 462.6 MB, free: 6.191 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005198/0.2862, allocations: 155.7 kB / 462.7 MB, free: 6.039 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002669/0.2889, allocations: 2.916 MB / 465.7 MB, free: 2.895 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006405/0.2895, allocations: 31.98 kB / 465.7 MB, free: 2.863 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.265e-05/0.2896, allocations: 36 kB / 465.7 MB, free: 2.828 MB / 366.1 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.0004381/0.29, allocations: 273.4 kB / 466 MB, free: 2.551 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/0.2902, allocations: 95.45 kB / 466.1 MB, free: 2.457 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/0.2912, allocations: 0.5071 MB / 466.6 MB, free: 1.934 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.355e-06/0.2912, allocations: 11.92 kB / 466.6 MB, free: 1.922 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.2912, allocations: 0 / 466.6 MB, free: 1.922 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.2912, allocations: 3.984 kB / 466.6 MB, free: 1.918 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002369/0.2936, allocations: 1.341 MB / 467.9 MB, free: 0.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.2936, allocations: 8.219 kB / 468 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003296/0.2939, allocations: 67.91 kB / 468 MB, free: 436 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000221/0.2942, allocations: 73.67 kB / 468.1 MB, free: 356 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.72e-05/0.2942, allocations: 8 kB / 468.1 MB, free: 348 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002595/0.2968, allocations: 2.908 MB / 471 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.2968, allocations: 4.031 kB / 471 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001438/0.2982, allocations: 0.8098 MB / 471.8 MB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003466/0.2986, allocations: 127.4 kB / 471.9 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.2987, allocations: 15.94 kB / 472 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004485/0.2991, allocations: 31.97 kB / 472 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.2992, allocations: 43.88 kB / 472 MB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.678e-05/0.2993, allocations: 12 kB / 472 MB, free: 12.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008915/0.3002, allocations: 0.5732 MB / 472.6 MB, free: 11.55 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3002, allocations: 0 / 472.6 MB, free: 11.55 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008675/0.301, allocations: 215.9 kB / 472.8 MB, free: 11.34 MB / 382.1 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.001819/0.3028, allocations: 1.366 MB / 474.2 MB, free: 9.914 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001319/0.3042, allocations: 0.6777 MB / 474.9 MB, free: 9.211 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.575e-06/0.3042, allocations: 8 kB / 474.9 MB, free: 9.203 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007084/0.3049, allocations: 450.3 kB / 475.3 MB, free: 8.738 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.306, allocations: 231.3 kB / 475.5 MB, free: 8.523 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01151/0.3175, allocations: 7.48 MB / 483 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004978/0.318, allocations: 430.4 kB / 483.4 MB, free: 160 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004508/0.3185, allocations: 107.3 kB / 483.6 MB, free: 48 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005509/0.319, allocations: 391.4 kB / 483.9 MB, free: 15.66 MB / 398.1 MB Notification: Performance of SimCode: time 9.22e-07/0.319, allocations: 0 / 483.9 MB, free: 15.66 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06341/0.3824, allocations: 21.29 MB / 0.4934 GB, free: 10.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.6, allocations: 7.797 kB / 0.4934 GB, free: 10.65 MB / 414.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_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_DCSE_SinglePhase.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_SinglePhase/DCSE_SinglePhase.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable loadInertia.phi in file Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.csv. Warning: Get data of variable loadInertia.phi from file Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.csv failed! Error: Could not read variable loadInertia.w in file Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.765389143954962]